mirror of
https://github.com/enso-org/enso.git
synced 2024-09-11 13:15:52 +03:00
Fix horizontal scrolling in settings (#10384)
This commit is contained in:
parent
88eeacf78b
commit
d95ebd4836
@ -28,10 +28,7 @@ export default function SettingsSection(props: SettingsSectionProps) {
|
||||
return (
|
||||
<FocusArea active={focusArea} direction="vertical">
|
||||
{innerProps => (
|
||||
<div
|
||||
className="flex min-w-settings-main-section flex-col gap-settings-section-header"
|
||||
{...innerProps}
|
||||
>
|
||||
<div className="flex w-full flex-col gap-settings-section-header" {...innerProps}>
|
||||
{!heading ? null : (
|
||||
<aria.Heading level={2} className="h-[2.375rem] py-0.5 text-xl font-bold">
|
||||
{getText(nameId)}
|
||||
|
@ -81,7 +81,7 @@ export default function SettingsTab(props: SettingsTabProps) {
|
||||
<div
|
||||
key={i}
|
||||
className={tailwindMerge.twMerge(
|
||||
'flex min-w-settings-main-section flex-col gap-settings-subsection',
|
||||
'flex flex-1 flex-col gap-settings-subsection',
|
||||
classes[i]
|
||||
)}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user