mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 07:55:52 +01:00
Card styling
This commit is contained in:
@@ -21,11 +21,11 @@ export function AppCardWidthSelector() {
|
|||||||
<Stack spacing="xs">
|
<Stack spacing="xs">
|
||||||
<Text>{t('label')}</Text>
|
<Text>{t('label')}</Text>
|
||||||
<Slider
|
<Slider
|
||||||
label={null}
|
label={config.settings.appCardWidth?.toFixed(1)}
|
||||||
defaultValue={config.settings.appCardWidth}
|
defaultValue={config.settings.appCardWidth ?? 0.7}
|
||||||
step={0.2}
|
step={0.1}
|
||||||
min={0.8}
|
min={0.3}
|
||||||
max={2}
|
max={1.2}
|
||||||
styles={{ markLabel: { fontSize: 'xx-small' } }}
|
styles={{ markLabel: { fontSize: 'xx-small' } }}
|
||||||
onChange={(value) => setappCardWidth(value)}
|
onChange={(value) => setappCardWidth(value)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user