fixed trash dialog and top panel mobile appearance

This commit is contained in:
muerwre 2019-02-12 09:50:39 +07:00
parent 72bd1d4f46
commit 7bb319ac8f
2 changed files with 11 additions and 6 deletions

View file

@ -21,7 +21,7 @@ export const TrashDialog = ({
</div> </div>
</div> </div>
<div className="helper trash-helper"> <div className="helper trash-helper">
<div className="helper__buttons flex_1"> <div className="helper__buttons flex_1 trash-buttons">
<div className="button-group"> <div className="button-group">
<div className="button router-helper__button" onClick={clearPoly}> <div className="button router-helper__button" onClick={clearPoly}>
Маршрут Маршрут

View file

@ -344,6 +344,16 @@
} }
} }
.trash-buttons {
@media (max-width: @mobile_breakpoint) {
flex-direction: column;
.button-group {
margin-bottom: 10px;
}
}
}
.logo-helper { .logo-helper {
width: 200px; width: 200px;
flex-direction: column; flex-direction: column;
@ -496,12 +506,7 @@
} }
&.top-control { &.top-control {
//width: 150px;
justify-content: flex-start; justify-content: flex-start;
@media (max-width: @mobile_breakpoint) {
width: 100px;
}
} }
svg { svg {