Skip to content

Commit

Permalink
Fix clipped content on left side of screen with wide window (#294)
Browse files Browse the repository at this point in the history
This fixes #284 by only left-shifting the content when the filter panel
is present.

I came here to report, only to find @andy-sweet had already reported it!

Great job on the launch! Hopefully this is the correct fix and not a
distraction.
  • Loading branch information
aganders3 authored Dec 20, 2023
1 parent e2eb82e commit e272640
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ export function TablePageLayout({
'flex flex-col flex-auto w-full',

// Translate to the left by half the filter panel width to align with the header
'screen-2040:translate-x-[-100px]',

filterPanel && 'max-w-content',
filterPanel && 'screen-2040:translate-x-[-100px] max-w-content',
)}
>
<div className="px-sds-xl">
Expand Down

0 comments on commit e272640

Please sign in to comment.