Skip to content

Commit

Permalink
Fix mobile select alignment
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
  • Loading branch information
skjnldsv committed Mar 28, 2019
1 parent 177c5be commit 1fb881b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions css/Properties/Properties.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ $property-value-max-width: 250px;
width: auto !important; // grow bigger if content is bigger than the original 100%
right: 0; // align right
}
@media only screen and (max-width: 768px) {
// align left of screen on narrow views
.multiselect__content-wrapper {
left: 0;
right: auto;
}
}
}

// Property value within row, after label
Expand Down

0 comments on commit 1fb881b

Please sign in to comment.