summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-06-12 13:33:42 -0500
committerJose Ivan Vargas <jvargas@gitlab.com>2017-06-12 13:33:42 -0500
commitf22e562f8f6d29268152ac16267785e60dd89acc (patch)
tree932c702368e15b85071ad650458af954df219360
parentde23d651e0a6b31b21c416c073ddf9e8ff97ade5 (diff)
downloadgitlab-ce-fix-overflow-slash-commands.tar.gz
fixed overflow on mobile screens for the slash commandsfix-overflow-slash-commands
-rw-r--r--app/assets/stylesheets/framework/markdown_area.scss10
-rw-r--r--changelogs/unreleased/fix-overflow-slash-commands.yml4
2 files changed, 14 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/markdown_area.scss b/app/assets/stylesheets/framework/markdown_area.scss
index 80691a234f8..f1ed3bc9311 100644
--- a/app/assets/stylesheets/framework/markdown_area.scss
+++ b/app/assets/stylesheets/framework/markdown_area.scss
@@ -174,3 +174,13 @@
white-space: nowrap;
}
}
+
+@media(max-width: $screen-xs-max) {
+ #at-view-commands {
+ left: 5px;
+
+ > .atwho-view-ul {
+ width: 350px;
+ }
+ }
+}
diff --git a/changelogs/unreleased/fix-overflow-slash-commands.yml b/changelogs/unreleased/fix-overflow-slash-commands.yml
new file mode 100644
index 00000000000..98ec399e8cb
--- /dev/null
+++ b/changelogs/unreleased/fix-overflow-slash-commands.yml
@@ -0,0 +1,4 @@
+---
+title: Fixed overflow on mobile screens for the slash commands
+merge_request:
+author: