Fix tablet view

This commit is contained in:
Anton Ignatov 2019-09-05 09:05:25 +02:00 committed by aignatov-bio
parent 5b8e1fedf1
commit 163a17d6d9

View file

@ -162,6 +162,7 @@
.ga-bottom { .ga-bottom {
display: flex; display: flex;
flex-grow: 1; flex-grow: 1;
height: 100%;
} }
.ga-main { .ga-main {
@ -223,6 +224,7 @@
&:hover { &:hover {
background-color: $brand-primary-light; background-color: $brand-primary-light;
border-radius: 5px;
} }
.activity-text { .activity-text {
@ -292,7 +294,7 @@
} }
.ga-side { .ga-side {
flex-basis: 350px; flex-basis: 320px;
flex-shrink: 0; flex-shrink: 0;
height: 100%; height: 100%;
margin-right: -15px; margin-right: -15px;
@ -389,6 +391,24 @@
} }
} }
@media (max-width: 900px) {
.ga-main {
.activities-day {
flex-direction: column;
.date-activities {
margin: 5px 10px 0 0;
padding-left: 10px;
.activities-counter-label {
border-bottom: 1px solid $color-gainsboro;
padding-bottom: 5px;
}
}
}
}
}
// Common code // Common code
.datetime-picker-container { .datetime-picker-container {