Skip to content

Commit

Permalink
fix content overflow in settings subsection (#10960)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry committed May 23, 2023
1 parent 30429df commit 2f2804f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ limitations under the License.
width: 100%;
display: grid;
grid-gap: $spacing-8;
grid-template-columns: 1fr;
// setting minwidth 0 makes columns definitely sized
// fixing horizontal overflow
grid-template-columns: minmax(0, 1fr);
justify-items: flex-start;
margin-top: $spacing-24;

Expand Down
1 change: 1 addition & 0 deletions res/css/views/settings/_LayoutSwitcher.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ limitations under the License.
display: flex;
flex-direction: row;
gap: 24px;
width: 100%;

color: $primary-content;

Expand Down

0 comments on commit 2f2804f

Please sign in to comment.