summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorJose Ivan Vargas Lopez <jvargas@gitlab.com>2017-06-16 19:58:16 +0000
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-06-16 19:58:16 +0000
commit9d90a1d26823f7ca99279c57024a8e16d8ff7864 (patch)
tree7f7f550b60b0fec6d90356aa8147a22b6295abf7 /app/assets
parent442bd2657c35afbe5d8dd1eb189a431b24308544 (diff)
downloadgitlab-ce-9d90a1d26823f7ca99279c57024a8e16d8ff7864.tar.gz
Fixed overflow on mobile screens for the slash commands
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/framework/markdown_area.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/markdown_area.scss b/app/assets/stylesheets/framework/markdown_area.scss
index 80691a234f8..b21bcc22a87 100644
--- a/app/assets/stylesheets/framework/markdown_area.scss
+++ b/app/assets/stylesheets/framework/markdown_area.scss
@@ -174,3 +174,14 @@
white-space: nowrap;
}
}
+
+@media(max-width: $screen-xs-max) {
+ .atwho-view-ul {
+ width: 350px;
+ }
+
+ .atwho-view ul li {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+}