Skip to content

Commit e87cb0d

Browse files
committed
fix settings panel width
1 parent bc0d9f5 commit e87cb0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/remix-ui/settings/src/lib/remix-ui-settings.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@media (max-width: 1100px) {
22
.remix-settings-sidebar {
33
min-width: 0 !important;
4-
max-width: 100% !important;
4+
max-width: 50% !important;
55
flex: 1 1 100% !important;
66
width: 100% !important;
77
padding-left: 3em !important;

libs/remix-ui/settings/src/lib/remix-ui-settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => {
327327
{/* Main Content */}
328328
<div
329329
className="flex-column p-0 flex-grow-1"
330-
style={{ minWidth: 0, flexBasis: '27.3em', flexGrow: 1, flexShrink: 1, maxWidth: '100%' }}
330+
style={{ minWidth: 0, flexBasis: '27.3em', flexGrow: 1, flexShrink: 1, maxWidth: '50%' }}
331331
>
332332
<div className="remix-settings-main" style={{ maxWidth: '53.5em', overflowY: 'auto', maxHeight: '58vh' }}>
333333
<SettingsSectionUI plugin={props.plugin} section={filteredSection} state={settingsState} dispatch={dispatch} />

0 commit comments

Comments
 (0)