Skip to content

Commit 1158ecb

Browse files
Added the needed updates
1 parent 440b4ba commit 1158ecb

File tree

2 files changed

+9
-28
lines changed

2 files changed

+9
-28
lines changed

contentcuration/contentcuration/frontend/administration/pages/Users/EmailUsersDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
351351
.text-truncate {
352352
display: inline-block;
353-
max-width: 70px;
353+
max-width: 68px;
354354
margin-top: 6px;
355355
overflow: hidden;
356356
text-overflow: ellipsis;

contentcuration/contentcuration/frontend/shared/views/StudioChip.vue

Lines changed: 8 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,15 @@
1212
</slot>
1313
</div>
1414

15-
<button
15+
<KIconButton
1616
v-if="close"
1717
class="studio-chip__close"
1818
:aria-label="removeLabel"
19+
icon="delete"
20+
:color="$themePalette.grey.v_400"
1921
data-test="remove-chip"
2022
@click.stop="handleClose"
21-
>
22-
<KIcon
23-
icon="delete"
24-
class="studio-chip__icon"
25-
:color="$themePalette.grey.v_400"
26-
/>
27-
</button>
23+
/>
2824
</div>
2925
</div>
3026

@@ -71,10 +67,10 @@
7167
.studio-chip {
7268
display: inline-flex;
7369
align-items: center;
74-
height: 24px;
75-
min-height: 24px;
70+
height: 26px;
71+
min-height: 26px;
7672
padding: 2px 8px;
77-
margin: 2px 4px;
73+
margin: 2px;
7874
font-size: 13px;
7975
white-space: nowrap;
8076
cursor: default;
@@ -97,26 +93,11 @@
9793
}
9894
9995
.studio-chip__close {
100-
position: relative;
101-
display: flex;
102-
align-items: center;
103-
justify-content: center;
10496
width: 16px;
10597
height: 16px;
98+
min-height: 16px;
10699
padding: 0;
107100
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%);
120101
}
121102
122103
</style>

0 commit comments

Comments
 (0)