summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamantha Ming <sming@gitlab.com>2019-06-10 18:28:49 +0000
committerPhil Hughes <me@iamphill.com>2019-06-10 18:28:49 +0000
commit073ddf1ed99a4d009a69aecbfdc35c4a48d64f94 (patch)
tree05524479e121dc3938914ed710a7137ddb8ba1b4
parent50063f4a8554c96ff1b757d84daaef547a8b849a (diff)
downloadgitlab-ce-073ddf1ed99a4d009a69aecbfdc35c4a48d64f94.tar.gz
Add word break style to branch name in dropdown
Add change log
-rw-r--r--app/assets/stylesheets/framework/typography.scss1
-rw-r--r--changelogs/unreleased/62154-fe-create-fix-long-branch-name-in-dropdown.yml6
2 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss
index 7c152efd9c7..9e1431963d9 100644
--- a/app/assets/stylesheets/framework/typography.scss
+++ b/app/assets/stylesheets/framework/typography.scss
@@ -403,6 +403,7 @@ code {
.git-revision-dropdown .dropdown-content ul li a {
@extend .ref-name;
+ word-break: break-all;
}
/**
diff --git a/changelogs/unreleased/62154-fe-create-fix-long-branch-name-in-dropdown.yml b/changelogs/unreleased/62154-fe-create-fix-long-branch-name-in-dropdown.yml
new file mode 100644
index 00000000000..1d951c1dc24
--- /dev/null
+++ b/changelogs/unreleased/62154-fe-create-fix-long-branch-name-in-dropdown.yml
@@ -0,0 +1,6 @@
+---
+title: Add support to view entirety of long branch name in dropdown instead of it
+ being cut off
+merge_request: 29069
+author:
+type: fixed