Improve grid size, language

This commit is contained in:
Kendall Garner 2024-02-16 21:42:15 -08:00
parent ce9c03b0e1
commit 2f105956b9
No known key found for this signature in database
GPG key ID: 18D2767419676C87
6 changed files with 43 additions and 21 deletions

View file

@ -472,7 +472,9 @@ export const AlbumArtistListHeaderFilters = ({
Table (paginated)
</DropdownMenu.Item> */}
<DropdownMenu.Divider />
<DropdownMenu.Label>Item size</DropdownMenu.Label>
<DropdownMenu.Label>
{t('table.config.general.itemSize', { postProcess: 'sentenceCase' })}
</DropdownMenu.Label>
<DropdownMenu.Item closeMenuOnClick={false}>
{display === ListDisplayType.CARD ||
display === ListDisplayType.POSTER ? (
@ -493,7 +495,11 @@ export const AlbumArtistListHeaderFilters = ({
</DropdownMenu.Item>
{isGrid && (
<>
<DropdownMenu.Label>Item gap</DropdownMenu.Label>
<DropdownMenu.Label>
{t('table.config.general.itemGap', {
postProcess: 'sentenceCase',
})}
</DropdownMenu.Label>
<DropdownMenu.Item closeMenuOnClick={false}>
<Slider
defaultValue={grid?.itemGap || 0}