Skip to content

Commit d774ed4

Browse files
author
黄书伟
committed
fixed bug
1 parent 7333168 commit d774ed4

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

packages/themes-base/v-table.css

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,41 +112,38 @@
112112
.table-title{
113113
display: inline-block;
114114
padding:0 3px;
115-
vertical-align: middle;
116115
word-break: break-all;
117116
overflow: hidden;
118117
}
119118

120119
.v-table-sort-icon {
121120
position: relative;
122121
display: inline-block;
122+
width: 14px;
123123
vertical-align: middle;
124-
font-size:16px;
125-
width:16px;
126-
height: 16px;
127-
overflow: hidden;
124+
text-align: center;
125+
height: 100%;
126+
line-height: 100%;
128127
cursor: pointer;
129128
margin-left: -8px;
130129
}
131130

132131
.v-table-sort-icon i {
133-
134132
position: absolute;
133+
line-height: 8px;
135134
display: block;
136-
width:16px;
137-
height: 12px;
138-
line-height: 12px;
139-
overflow: hidden;
135+
width: 14px;
136+
height: 8px;
140137
color: #a6a6a6;
141138
transition: color .2s ease-in-out;
142139
}
143140

144141
.v-table-sort-icon i:first-child {
145-
top: -5px;
142+
top: -10px;
146143
}
147144

148145
.v-table-sort-icon i:last-child {
149-
bottom: 0px;
146+
/* bottom: 10px;*/
150147
}
151148

152149
.v-table-header .cursorPointer{

0 commit comments

Comments
 (0)