Skip to content

Commit be8e7b2

Browse files
bjarnefmikecp
authored andcommitted
Fix incorrect styling of actions in tags editor
1 parent 025db57 commit be8e7b2

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

src/Umbraco.Web.UI.Client/src/less/components/umb-tags-editor.less

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.umb-tags-editor {
1+
.umb-tags-editor {
22
border: @inputBorder solid 1px;
33
padding: 5px;
44
min-height: 54px;
@@ -14,24 +14,26 @@
1414
position: relative;
1515
user-select: all;
1616

17-
.umb_confirm-action {
17+
> .btn-icon {
18+
color: @white;
19+
padding: 0;
20+
position: relative;
21+
cursor: pointer;
22+
padding-left: 2px;
23+
font-size: 15px;
24+
right: -5px;
25+
bottom: -1px;
26+
user-select: none;
27+
}
1828

19-
> .btn-icon {
20-
color: @white;
21-
padding: 0;
22-
position: relative;
23-
cursor: pointer;
24-
padding-left: 2px;
25-
font-size: 15px;
26-
right: -5px;
27-
bottom: -1px;
28-
user-select: none;
29-
}
29+
.umb_confirm-action {
3030

31-
.umb_confirm-action__overlay.-left {
32-
top: 8px;
33-
left: auto;
34-
right: 15px;
31+
&__overlay {
32+
&.-left {
33+
top: 8px;
34+
left: auto;
35+
right: 15px;
36+
}
3537
}
3638
}
3739
}

src/Umbraco.Web.UI.Client/src/views/components/tags/umb-tags-editor.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<span ng-bind-html="tag"></span>
1414

1515
<umb-icon icon="icon-trash"
16+
class="btn-icon"
1617
ng-click="vm.showPrompt($index, tag)"
1718
localize="title"
1819
title="@buttons_deleteTag">

0 commit comments

Comments
 (0)