Skip to content

Commit

Permalink
Limit the width of content-body.
Browse files Browse the repository at this point in the history
Elements that overflow, need to take care of the scrolling themeselves (e.g. tables). Otherwise, other elements of the page are out of view as well (e.g. pagination)
  • Loading branch information
HDinger authored Jun 20, 2024
1 parent b4195a4 commit ede8dd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/global_styles/layout/_base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ $left-space: 20px
grid-area: body
padding-bottom: $bottom-space
padding-left: $left-space
// Limit the width of the body to the container around it
overflow-x: hidden

// Special rules for pages that still follow the old layout and render everything inside the content-body
.accessibility-helper ~ &
Expand Down

0 comments on commit ede8dd9

Please sign in to comment.