Skip to content

Commit

Permalink
Make properties panel map responsive in height (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadyan authored Sep 9, 2019
1 parent ed82d82 commit 85b21ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/css/_vehicle_map.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.m-vehicle-map {
height: 30rem;
flex: 1 1 auto;
margin-top: 1rem;
min-height: 5rem;
}

.m-vehicle-map__label {
Expand Down
5 changes: 5 additions & 0 deletions assets/css/_vehicle_properties_panel.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.m-vehicle-properties-panel {
background-color: $color-bg-base;
box-shadow: $modal-box-shadow;
display: flex;
flex-direction: column;
height: 100%;
max-width: 100%;
overflow-y: scroll;
Expand Down Expand Up @@ -114,6 +116,9 @@

.m-vehicle-properties-panel__location {
border-top: 1px solid $color-rule;
display: flex;
flex: 1 1 auto;
flex-direction: column;
padding: 1rem;
}

Expand Down

0 comments on commit 85b21ab

Please sign in to comment.