diff options
author | Jose Ivan Vargas Lopez <jvargas@gitlab.com> | 2017-06-16 19:58:16 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-06-16 19:58:16 +0000 |
commit | 9d90a1d26823f7ca99279c57024a8e16d8ff7864 (patch) | |
tree | 7f7f550b60b0fec6d90356aa8147a22b6295abf7 | |
parent | 442bd2657c35afbe5d8dd1eb189a431b24308544 (diff) | |
download | gitlab-ce-9d90a1d26823f7ca99279c57024a8e16d8ff7864.tar.gz |
Fixed overflow on mobile screens for the slash commands
-rw-r--r-- | app/assets/stylesheets/framework/markdown_area.scss | 11 | ||||
-rw-r--r-- | changelogs/unreleased/fix-overflow-slash-commands.yml | 4 |
2 files changed, 15 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; + } +} 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: |