Fix when switch label is too long
This commit is contained in:
parent
2b3ecc665c
commit
53a4b2d2c0
|
@ -111,23 +111,23 @@ export default function Library(props: Immutable<Props>): JSX.Element {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-row gap-2 place-items-center">
|
<div className="flex flex-row gap-2 place-items-center place-content-between">
|
||||||
<p className="flex-shrink-0">{langui.show_subitems}:</p>
|
<p className="text-left">{langui.show_subitems}:</p>
|
||||||
<Switch state={showSubitems} setState={setShowSubitems} />
|
<Switch state={showSubitems} setState={setShowSubitems} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-row gap-2 place-items-center">
|
<div className="flex flex-row gap-2 place-items-center place-content-between">
|
||||||
<p className="flex-shrink-0">{langui.show_primary_items}:</p>
|
<p className="text-left">{langui.show_primary_items}:</p>
|
||||||
<Switch state={showPrimaryItems} setState={setShowPrimaryItems} />
|
<Switch state={showPrimaryItems} setState={setShowPrimaryItems} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-row gap-2 place-items-center">
|
<div className="flex flex-row gap-2 place-items-center place-content-between">
|
||||||
<p className="flex-shrink-0">{langui.show_secondary_items}:</p>
|
<p className="text-left">{langui.show_secondary_items}:</p>
|
||||||
<Switch state={showSecondaryItems} setState={setShowSecondaryItems} />
|
<Switch state={showSecondaryItems} setState={setShowSecondaryItems} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-row gap-2 place-items-center coarse:hidden">
|
<div className="flex flex-row gap-2 place-items-center coarse:hidden place-content-between">
|
||||||
<p className="flex-shrink-0">{langui.always_show_info}:</p>
|
<p className="text-left">{langui.always_show_info}:</p>
|
||||||
<Switch setState={setKeepInfoVisible} state={keepInfoVisible} />
|
<Switch setState={setKeepInfoVisible} state={keepInfoVisible} />
|
||||||
</div>
|
</div>
|
||||||
</SubPanel>
|
</SubPanel>
|
||||||
|
|
Loading…
Reference in New Issue