Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
style_tool
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Bugzilla
Bugzilla
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
于广洋
style_tool
Commits
474edc4f
Commit
474edc4f
authored
Apr 13, 2020
by
cyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表格高度调整
parent
0e37df4b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
element-variables.scss
element-variables.scss
+1
-1
table.scss
node_module/element-theme-chalk/src/table.scss
+13
-8
No files found.
element-variables.scss
View file @
474edc4f
...
@@ -809,7 +809,7 @@ $--dialog-padding-primary: 20px !default;
...
@@ -809,7 +809,7 @@ $--dialog-padding-primary: 20px !default;
/* Table
/* Table
-------------------------- */
-------------------------- */
///table||header|0
///table||header|0
$--table-border-color-self
:
#E0E0E0
;
$--table-border-color-self
:
#E0E0E0
;
$--table-current-row-color
:
#D1ECFF
;
$--table-current-row-color
:
#D1ECFF
;
/// color||Color|0
/// color||Color|0
$--table-border-color
:
$--table-border-color-self
!
default
;
$--table-border-color
:
$--table-border-color-self
!
default
;
...
...
node_module/element-theme-chalk/src/table.scss
View file @
474edc4f
...
@@ -108,8 +108,9 @@
...
@@ -108,8 +108,9 @@
thead
{
thead
{
color
:
$--table-header-font-color
;
color
:
$--table-header-font-color
;
font-weight
:
500
;
th
{
font-weight
:
600
;
}
&
.is-group
{
&
.is-group
{
th
{
th
{
background
:
$--background-color-base
;
background
:
$--background-color-base
;
...
@@ -118,7 +119,7 @@
...
@@ -118,7 +119,7 @@
}
}
th
,
td
{
th
,
td
{
padding
:
12px
0
;
//
padding: 12px 0;
min-width
:
0
;
min-width
:
0
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
...
@@ -185,6 +186,8 @@
...
@@ -185,6 +186,8 @@
}
}
th
{
th
{
height
:
40px
;
line-height
:
40px
;
overflow
:
hidden
;
overflow
:
hidden
;
user-select
:
none
;
user-select
:
none
;
background-color
:
$--table-header-background-color
;
background-color
:
$--table-header-background-color
;
...
@@ -194,8 +197,8 @@
...
@@ -194,8 +197,8 @@
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
vertical-align
:
middle
;
vertical-align
:
middle
;
padding-left
:
10
px
;
padding-left
:
8
px
;
padding-right
:
10
px
;
padding-right
:
8
px
;
width
:
100%
;
width
:
100%
;
&
.highlight
{
&
.highlight
{
...
@@ -216,6 +219,8 @@
...
@@ -216,6 +219,8 @@
}
}
td
{
td
{
height
:
32px
;
line-height
:
32px
;
div
{
div
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
...
@@ -232,8 +237,8 @@
...
@@ -232,8 +237,8 @@
white-space
:
normal
;
white-space
:
normal
;
word-break
:
break-all
;
word-break
:
break-all
;
line-height
:
23px
;
line-height
:
23px
;
padding-left
:
10
px
;
padding-left
:
8
px
;
padding-right
:
10
px
;
padding-right
:
8
px
;
&
.el-tooltip
{
&
.el-tooltip
{
white-space
:
nowrap
;
white-space
:
nowrap
;
...
@@ -284,7 +289,7 @@
...
@@ -284,7 +289,7 @@
border-right
:
$--table-border
;
border-right
:
$--table-border
;
&
:first-child
.cell
{
&
:first-child
.cell
{
padding-left
:
10
px
;
padding-left
:
8
px
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment