File tree Expand file tree Collapse file tree 1 file changed +25
-7
lines changed
contentcuration/contentcuration/frontend/shared/views Expand file tree Collapse file tree 1 file changed +25
-7
lines changed Original file line number Diff line number Diff line change 1212 </slot >
1313 </div >
1414
15- <KIconButton
15+ <button
1616 v-if =" close"
1717 class =" studio-chip__close"
1818 :aria-label =" removeLabel"
19- icon =" delete"
20- color =" #999999"
21- appearance =" flat-button"
2219 data-test =" remove-chip"
2320 @click.stop =" handleClose"
24- />
21+ >
22+ <KIcon
23+ icon =" delete"
24+ class =" studio-chip__icon"
25+ :color =" $themePalette.grey.v_400"
26+ />
27+ </button >
2528 </div >
2629 </div >
2730
7174 height : 24px ;
7275 min-height : 24px ;
7376 padding : 2px 8px ;
74- margin : 2px ;
77+ margin : 2px 4 px ;
7578 font-size : 13px ;
7679 white-space : nowrap ;
7780 cursor : default ;
9497 }
9598
9699 .studio-chip__close {
100+ position : relative ;
101+ display : flex ;
102+ align-items : center ;
103+ justify-content : center ;
97104 width : 16px ;
98105 height : 16px ;
99- min-height : 16px ;
100106 padding : 0 ;
101107 margin-top : 2px ;
108+ margin-left : 2px ;
109+ cursor : pointer ;
110+ border-radius : 50% ;
111+ }
112+
113+ .studio-chip__icon {
114+ position : absolute ;
115+ top : 50% ;
116+ left : 50% ;
117+ font-size : 18px ;
118+ transition : color 0.2s ease ;
119+ transform : translate (-50% , -50% );
102120 }
103121
104122 </style >
You can’t perform that action at this time.
0 commit comments