Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: fix setting item width (#6909) (#6935)

01zulfiabfdad0feceb
diff --git a/apps/web/src/dialogs/settings/index.tsx b/apps/web/src/dialogs/settings/index.tsx
index 5f1bc2e30..4d04d8c94 100644
--- a/apps/web/src/dialogs/settings/index.tsx
+++ b/apps/web/src/dialogs/settings/index.tsx
@@ -466,7 +466,7 @@ function SettingItem(props: { item: Setting }) {
gap: 4
}}
>
- <Flex sx={{ flexDirection: "column", flexShrink: 0 }}>
+ <Flex sx={{ flexDirection: "column", flex: 1 }}>
<Text variant={"subtitle"}>{item.title}</Text>
{item.description && (
<Text
@@ -485,7 +485,8 @@ function SettingItem(props: { item: Setting }) {
alignItems: "center",
justifyContent: "end",
gap: 2,
- "& > label": { width: "auto" }
+ "& > label": { width: "auto" },
+ "& > *": { flexShrink: 0 }
}}
>
{components.map((component, index) => {