Skip to content

Commit

Permalink
Merge pull request #3439 from mathesar-foundation/3365_connections_ma…
Browse files Browse the repository at this point in the history
…x_width

Constrain the width of the connections page
  • Loading branch information
pavish committed Feb 21, 2024
2 parents 8cc5831 + 2af8014 commit 1afe997
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mathesar_ui/src/pages/connections/ConnectionsPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@
<title>{makeSimplePageTitle($_('connections'))}</title>
</svelte:head>

<LayoutWithHeader cssVariables={{ '--page-padding': '0' }}>
<LayoutWithHeader
restrictWidth
cssVariables={{
'--page-padding': '0',
'--max-layout-width': 'var(--max-layout-width-console-pages)',
}}
>
<div data-identifier="connections-header">
<span>
{$_('database_connections')}
Expand Down

0 comments on commit 1afe997

Please sign in to comment.