zotero/scss/components/_icons.scss
Tom Najdek 78d82d22cc Fix item type icons broken on 2x screens
Icons preloading introduced in 247755c5 overrides entire background
property, not just background-image. On 2x screens (and anywhere else
where svg icons need to be scaled) icons need property `background-size:
contain` to be displayed correctly. This previously came from
`.icon-css` class but have been overriden by code generated in
`svgicon`, so to fix this, these properties need to be added to the
`svgicon`.
2024-01-24 03:42:42 -05:00

26 lines
397 B
SCSS

.icon > svg, .icon > img {
width: 16px;
}
.icon-bg {
width: 16px;
height: 16px;
display: inline-block;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
vertical-align: middle;
}
.icon-css {
display: inline-block;
vertical-align: middle;
}
.icon.icon-downchevron {
width: 7px !important;
}
.icon {
-moz-appearance: none !important;
}