adjust spacing within tag selector

1. Decrease the gap after colored tags.
2. In compact mode, decrease the splitter height.
This commit is contained in:
abaevbog 2023-11-30 06:42:50 -05:00 committed by Dan Stillman
parent 97996310ea
commit cc9d58e6be
2 changed files with 4 additions and 1 deletions

View file

@ -105,7 +105,7 @@ class TagList extends React.PureComponent {
var row = 0;
let rowX = panePaddingLeft;
const separatorHeightCoefficient = 0.5;
const separatorHeightCoefficient = 0.25;
let separatorHeight = Math.round(rowHeight * separatorHeightCoefficient);
let shouldAddSeparator = false;
let hasColoredTags = !!this.props.tags[0]?.color;

View file

@ -1,4 +1,7 @@
#zotero-tags-splitter {
-moz-appearance: none;
border-top: var(--material-border-quarternary);
@include compact {
min-height: 5px;
}
}