mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-10-19 15:26:33 +00:00
feat(ui): More item contrast for mobile screens
This commit is contained in:
parent
279540e874
commit
c2a7a082fc
2 changed files with 6 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ export const MetadataSearchCombobox = <T extends MetadataSearchResult>(props: Me
|
|||
<Combobox.Context>
|
||||
{(combobox) => {
|
||||
return collection.items?.map((item) => (
|
||||
<Combobox.Item key={item.id} item={item.id}>
|
||||
<Combobox.Item key={item.id} item={item.id} marginY={{smDown: '1.5'}}>
|
||||
{renderItem(item, (val) => {
|
||||
onChange(val);
|
||||
combobox.setInputValue(collection.stringifyItem(val) ?? '', 'item-select');
|
||||
|
|
|
|||
|
|
@ -117,4 +117,9 @@
|
|||
|
||||
.chakra-select__itemGroup .chakra-select__item {
|
||||
padding-inline: var(--chakra-spacing-3)
|
||||
}
|
||||
|
||||
.chakra-combobox__item:nth-child(odd):not([data-highlighted=""]) {
|
||||
--mix-subtle-background: color-mix(in srgb, var(--chakra-colors-bg-muted) 60%, transparent);
|
||||
background: var(--mix-subtle-background)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue