update Table
update Table
This commit is contained in:
parent
abdec99d22
commit
a3547c1b41
4 changed files with 149 additions and 66 deletions
|
@ -9,10 +9,33 @@
|
|||
background-color: #fff;
|
||||
border: 1px solid @border-color-base;
|
||||
border-bottom: 0;
|
||||
border-right: 0;
|
||||
border-collapse: collapse;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
|
||||
&:before{
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
background-color: @border-color-base;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
&:after{
|
||||
content: '';
|
||||
width: 1px;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
background-color: @border-color-base;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
&-with-header{
|
||||
border-radius: @border-radius-base @border-radius-base 0 0;
|
||||
}
|
||||
|
@ -36,8 +59,9 @@
|
|||
}
|
||||
|
||||
&-body{
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
//overflow-x: hidden;
|
||||
//overflow-y: auto;
|
||||
overflow: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
@ -91,7 +115,8 @@
|
|||
}
|
||||
|
||||
& table{
|
||||
width: 100%;
|
||||
//width: 100%;
|
||||
table-layout: fixed;
|
||||
}
|
||||
&-border{
|
||||
th,td{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue