mirror of https://github.com/ElemeFE/element
Table: fix sorting arrow style
parent
6544134c38
commit
dd8d350b7d
|
@ -426,9 +426,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.caret-wrapper {
|
.caret-wrapper {
|
||||||
position: absolute;
|
display: inline-flex;
|
||||||
display: inline-block;
|
flex-direction: column;
|
||||||
height: 100%;
|
align-items: center;
|
||||||
|
height: 34px;
|
||||||
|
width: 24px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
overflow: initial;
|
overflow: initial;
|
||||||
|
@ -440,14 +442,13 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 4px;
|
|
||||||
|
|
||||||
&.ascending {
|
&.ascending {
|
||||||
top: 1px;
|
top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.descending {
|
&.descending {
|
||||||
bottom: 1px;
|
bottom: 7px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
height: 18px;
|
height: 16px;
|
||||||
width: 18px;
|
width: 16px;
|
||||||
line-height: 18px;
|
line-height: 16px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
right: -5px;
|
right: -5px;
|
||||||
|
|
Loading…
Reference in New Issue