Skip to content

Commit

Permalink
styles adjusted for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
toniskobic committed Sep 5, 2023
1 parent 5531bfb commit bd32afb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h2 mat-dialog-title class="mat-elevation-z6">{{ 'WEBSITE_SETTINGS_DIALOG.TITLE' | translate }}</h2>
<mat-dialog-content>
<p>{{ 'WEBSITE_SETTINGS_DIALOG.CONTENT' | translate }}</p>
<div class="grid content-wrapper mat-elevation-z6">
<div class="grid grid--fluid content-wrapper mat-elevation-z6">
<div>
<h3>{{ 'WEBSITE_SETTINGS_DIALOG.LABELS.WEBSITE' | translate }}</h3>
<drd-website-settings></drd-website-settings>
Expand Down
6 changes: 6 additions & 0 deletions src/styles/dragon-drop/components/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
grid-template-rows: repeat(2, 1fr);
grid-gap: 10px;
padding-inline: 5px;

&--fluid {
@media only screen and (max-width: 640px) {
grid-template-columns: repeat(1, 1fr);
}
}
}

.grid-item-text {
Expand Down
3 changes: 2 additions & 1 deletion src/styles/dragon-drop/layouts/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ header {
height: $toolbar-height;
z-index: 10;
gap: 10px;
overflow: auto;
overflow-x: auto;
overflow-y: hidden;

.subcontainer {
display: flex;
Expand Down

0 comments on commit bd32afb

Please sign in to comment.