Fix Gantt layout overflowsing on mobile

This commit is contained in:
kolaente 2021-07-26 11:25:55 +02:00
parent fd5d331eca
commit 34849d80b7
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 200 additions and 181 deletions

View File

@ -203,26 +203,45 @@ $gantt-vertical-border-color: $grey-100;
justify-content: space-between;
align-items: center;
@media screen and (max-width: $tablet) {
flex-direction: column;
}
.range-picker {
display: flex;
margin-bottom: 1rem;
width: 50%;
@media screen and (max-width: $tablet) {
flex-direction: column;
width: 100%;
}
.field {
margin: 0 0 0 .5rem;
max-width: 100px;
margin-bottom: 0;
width: 33%;
&:not(:last-child) {
padding-right: .5rem;
}
@media screen and (max-width: $tablet) {
width: 100%;
max-width: 100%;
margin-top: .5rem;
padding-right: 0 !important;
}
&, .input {
font-size: .8rem;
}
.select {
.select, .select select {
height: auto;
width: 100%;
font-size: .8rem;
}
select {
height: auto;
font-size: 0.75rem;
}
.label {
font-size: .9rem;