File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 <td >{{ token.expires }}</td >
3737 <td class =" ui-table__action-cell" >
3838 <button @click =" showDelete(index)" class =" ui-icon-btn" title =" Delete" type =" button" >
39- <span class =" clip" >Delete</span >
40- <svg style =" height : 16px ; width : 16px ;" class =" ui-icon-btn__icon" viewBox =" 0 0 1024 1024" version =" 1.1" xmlns =" http://www.w3.org/2000/svg" width =" 200" height =" 200" ><path d =" M574.55 522.35L904.4 192.5c16.65-16.65 16.65-44.1 0-60.75l-1.8-1.8c-16.65-16.65-44.1-16.65-60.75 0L512 460.25l-329.85-330.3c-16.65-16.65-44.1-16.65-60.75 0l-1.8 1.8c-17.1 16.65-17.1 44.1 0 60.75l329.85 329.85L119.6 852.2c-16.65 16.65-16.65 44.1 0 60.75l1.8 1.8c16.65 16.65 44.1 16.65 60.75 0L512 584.9l329.85 329.85c16.65 16.65 44.1 16.65 60.75 0l1.8-1.8c16.65-16.65 16.65-44.1 0-60.75L574.55 522.35z" ></path ></svg >
39+ <el-icon class =" ui-icon-btn__icon" :size =" 16" ><Delete /></el-icon >
4140 </button >
4241 </td >
4342 </tr >
@@ -165,16 +164,22 @@ export default AccessTokenList
165164}
166165
167166.ui-icon-btn {
167+ display : flex ;
168+ align-items : center ;
169+ justify-content : center ;
170+ width : 28px ;
171+ height : 28px ;
168172 border : 1px solid transparent ;
169- background : #f4f7fc ;
170- border-radius : var (--ui-radius-sm );
171- padding : 5 px ;
173+ background : transparent ;
174+ border-radius : var (--ui-radius-sm , 6 px );
175+ padding : 0 ;
172176 cursor : pointer ;
173177 transition : all 0.16s ease ;
174178}
175179
176180.ui-icon-btn__icon {
177- fill : #8a94a6 ;
181+ color : #8a94a6 ;
182+ transition : color 0.16s ease ;
178183}
179184
180185.ui-icon-btn :hover {
@@ -183,7 +188,7 @@ export default AccessTokenList
183188}
184189
185190.ui-icon-btn :hover .ui-icon-btn__icon {
186- fill : #de0a0a ;
191+ color : #de0a0a ;
187192}
188193
189194@media (max-width : 900px ) {
You can’t perform that action at this time.
0 commit comments