Skip to content

Commit

Permalink
fix: tag selection icon alignment (#4153)
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 authored Jan 3, 2025
1 parent a3461a8 commit 1bdfb66
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
2 changes: 0 additions & 2 deletions extensions/tags/less/common/TagIcon.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
width: 16px;
height: 16px;
display: inline-block;
vertical-align: -3px;
margin-left: 1px;
background: var(--color, var(--control-bg));

&.untagged {
Expand Down
21 changes: 10 additions & 11 deletions extensions/tags/less/common/TagSelectionModal.less
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
position: absolute;
inset: 0;
display: none;
align-items: center;
justify-content: center;
background-color: transparent;
}

Expand All @@ -76,6 +78,8 @@
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
display: flex;
align-items: center;

&.pinned:not(.child) {
padding-top: 10px;
Expand All @@ -99,16 +103,9 @@
background: var(--control-bg);
}

.icon::before {
display: inline-block;
width: 16px;
text-align: center;
vertical-align: middle;
}

&.selected {
.SelectTagListItem-checkIcon {
display: inline-block;
display: inline-flex;
color: var(--muted-color);
font-size: 14px;
}
Expand All @@ -123,10 +120,12 @@
}
.SelectTagListItem-icon {
position: relative;
display: inline-block;
vertical-align: top;
margin-top: 3px;
display: inline-flex;
align-items: center;
justify-content: center;
margin-left: 0;
height: 16px;
width: 16px;
}
.SelectTagListItem-name {
display: inline-block;
Expand Down

0 comments on commit 1bdfb66

Please sign in to comment.