Skip to content

Commit

Permalink
Fix sorting behavior layout independent
Browse files Browse the repository at this point in the history
The respective css styling is moved out of the case distinction between
grid and flexbox layout to be indpendent of the layout choice.
  • Loading branch information
liaham committed Jan 10, 2021
1 parent bf14f9f commit b823dda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sass/components/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@

#content {
padding: $padding-side;
overflow-x: auto; // needed for drag & drop of enumerations

@if $css-grid-layout {
grid-area: content;
} @else if $flexbox-layout {
$side-space: $sidebar-width + $padding-side * 2;
flex: 1 1 auto;
width: calc(100% - #{$side-space});
overflow-x: auto; // needed for drag & drop of enumerations
} @else {
overflow: hidden;
}
Expand Down
2 changes: 1 addition & 1 deletion stylesheets/application.css

Large diffs are not rendered by default.

0 comments on commit b823dda

Please sign in to comment.