mirror of https://github.com/ElemeFE/element
Table: fix table column default alignment (#12578)
parent
6b76896c40
commit
74827513d0
|
@ -112,15 +112,12 @@
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
@include when(center) {
|
@include when(center) {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include when(left) {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include when(right) {
|
@include when(right) {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
@ -179,7 +176,6 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
text-align: left;
|
|
||||||
background-color: $--table-header-background;
|
background-color: $--table-header-background;
|
||||||
|
|
||||||
div {
|
div {
|
||||||
|
|
Loading…
Reference in New Issue