summaryrefslogtreecommitdiffstats
path: root/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-03-28 14:17:45 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-03-28 14:17:45 +0100
commit1fb881b3dcdd540eb5df589f4bc654df33a4ac8a (patch)
tree1cd85425ac8d56badabba53770739737e5dc322b /css
parent177c5be63e65231bb3e9fb7e0042b5715ee67ca7 (diff)
Fix mobile select alignment
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'css')
-rw-r--r--css/Properties/Properties.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/css/Properties/Properties.scss b/css/Properties/Properties.scss
index 6d3bafc4..b659a5d2 100644
--- a/css/Properties/Properties.scss
+++ b/css/Properties/Properties.scss
@@ -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