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:
parent
97996310ea
commit
cc9d58e6be
2 changed files with 4 additions and 1 deletions
|
@ -105,7 +105,7 @@ class TagList extends React.PureComponent {
|
||||||
var row = 0;
|
var row = 0;
|
||||||
let rowX = panePaddingLeft;
|
let rowX = panePaddingLeft;
|
||||||
|
|
||||||
const separatorHeightCoefficient = 0.5;
|
const separatorHeightCoefficient = 0.25;
|
||||||
let separatorHeight = Math.round(rowHeight * separatorHeightCoefficient);
|
let separatorHeight = Math.round(rowHeight * separatorHeightCoefficient);
|
||||||
let shouldAddSeparator = false;
|
let shouldAddSeparator = false;
|
||||||
let hasColoredTags = !!this.props.tags[0]?.color;
|
let hasColoredTags = !!this.props.tags[0]?.color;
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
#zotero-tags-splitter {
|
#zotero-tags-splitter {
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
border-top: var(--material-border-quarternary);
|
border-top: var(--material-border-quarternary);
|
||||||
|
@include compact {
|
||||||
|
min-height: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue