mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 18:40:34 -05:00
Enhance ThemeSettings and UI components by adding maxWidth styling for better responsiveness. This change ensures that buttons and columns adapt to the full width of their containers.
This commit is contained in:
@@ -229,6 +229,7 @@ export function ThemeSettings() {
|
||||
'&[data-hovered]': {
|
||||
backgroundColor: themeStyle.buttonNormalBackgroundHover,
|
||||
},
|
||||
maxWidth: '100%',
|
||||
})}
|
||||
/>
|
||||
</Column>
|
||||
@@ -248,6 +249,7 @@ export function ThemeSettings() {
|
||||
backgroundColor:
|
||||
themeStyle.buttonNormalBackgroundHover,
|
||||
},
|
||||
maxWidth: '100%',
|
||||
})}
|
||||
/>
|
||||
</Column>
|
||||
@@ -265,6 +267,7 @@ export function ThemeSettings() {
|
||||
backgroundColor:
|
||||
themeStyle.buttonNormalBackgroundHover,
|
||||
},
|
||||
maxWidth: '100%',
|
||||
})}
|
||||
/>
|
||||
</Column>
|
||||
|
||||
@@ -118,7 +118,9 @@ export function Column({
|
||||
}}
|
||||
>
|
||||
<Text style={{ fontWeight: 500 }}>{title}</Text>
|
||||
<View style={{ alignItems: 'flex-start', gap: '1em' }}>{children}</View>
|
||||
<View style={{ alignItems: 'flex-start', gap: '1em', width: '100%' }}>
|
||||
{children}
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user