Fix mobile media query (#2840)

This commit is contained in:
Maurizio Vitale
2018-01-17 14:44:34 +01:00
committed by Eugenio Romano
parent 6160d33683
commit b932942983
2 changed files with 23 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
.adf { .adf {
&-start-process { &-start-process {
width: calc(66.6666% - 48px); width: 66%;
margin-left: calc(33.3333333333% / 2); margin-left: auto;
margin-right: calc(33.3333333333% / 2); margin-right: auto;
margin-top: 10px; margin-top: 10px;
.mat-select-trigger { .mat-select-trigger {
font-size: 14px !important; font-size: 14px !important;
@@ -35,4 +35,12 @@
&-start-form-actions { &-start-form-actions {
text-align: right !important; text-align: right !important;
} }
} }
@media (max-width: 600px) {
.adf-start-process {
width: 90%;
margin-left: auto;
margin-right: auto;
}
}

View File

@@ -14,9 +14,9 @@
} }
.adf-new-task-layout-card { .adf-new-task-layout-card {
width: 66.6667%; width: 66%;
margin-right: calc(33.3333% / 2 - 24px); margin-right: auto;
margin-left: calc(33.3333% / 2 - 24px); margin-left: auto;
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
padding: 0px; padding: 0px;
@@ -110,3 +110,11 @@
} }
} }
} }
@media (max-width: 600px) {
.adf-new-task-layout-card {
width: 90%;
margin-left: auto;
margin-right: auto;
}
}