fix content overflow in settings subsection (#10960)

This commit is contained in:
Kerry 2023-05-24 11:31:56 +12:00 committed by GitHub
parent 30429df948
commit 2f2804f8af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -34,7 +34,9 @@ limitations under the License.
width: 100%; width: 100%;
display: grid; display: grid;
grid-gap: $spacing-8; 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; justify-items: flex-start;
margin-top: $spacing-24; margin-top: $spacing-24;

View file

@ -19,6 +19,7 @@ limitations under the License.
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap: 24px; gap: 24px;
width: 100%;
color: $primary-content; color: $primary-content;