Skip to content

A platform for community discussion. Free, open, simple.

Composer z-index fix, category dropdown margin fix

Kris1ea27d448bda
diff --git a/app/assets/stylesheets/common/base/compose.scss b/app/assets/stylesheets/common/base/compose.scss
index 55133eefb09..e7e3e28e589 100644
--- a/app/assets/stylesheets/common/base/compose.scss
+++ b/app/assets/stylesheets/common/base/compose.scss
@@ -189,7 +189,7 @@
.category-input {
display: flex;
flex: 1 0 35%;
- margin: 0 5px 5px 10px;
+ margin: 0 0 5px 10px;
@media screen and (max-width: 955px) {
flex: 1 0 100%;
margin-left: 0;
@@ -205,6 +205,11 @@
.category-input {
flex-basis: 25%;
margin-left: 0;
+ margin-right: 5px;
+ @media screen and (max-width: 920px) {
+ flex-basis: 100%;
+ margin-right: 0;
+ }
}
}
@@ -225,6 +230,7 @@
flex: 1 1 25%;
margin: 0 0 5px 0;
background: $secondary;
+ z-index: z("composer","dropdown");
@media all and (max-width: 900px) {
margin: 0;
flex: 1 1 100%;
diff --git a/app/assets/stylesheets/common/foundation/variables.scss b/app/assets/stylesheets/common/foundation/variables.scss
index 9075501227c..1bd59004075 100644
--- a/app/assets/stylesheets/common/foundation/variables.scss
+++ b/app/assets/stylesheets/common/foundation/variables.scss
@@ -72,6 +72,8 @@ $z-layers: (
"header": 1000,
"tooltip": 600,
"composer": (
+ "dropdown": 700,
+ "tooltip": 600,
"popover": 500,
"content": 400,
),