diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-02-04 01:36:01 +0300 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-02-04 01:36:01 +0300 |
commit | fa7cc50f04af34bd58039d190f5844b7f5c3fe8b (patch) | |
tree | 17e378921ed00f1e23e681db84acbf7ff1eccb35 | |
parent | 5aea8dc1a6dc17d4a73e65f3c3a0f8b7e29686eb (diff) |
Include branch in mobile view for pipelines
-rw-r--r-- | app/assets/javascripts/vue_shared/components/commit.vue | 4 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/pipelines.scss | 2 | ||||
-rw-r--r-- | changelogs/unreleased/style-include-branch-in-mobile-view.yml | 5 |
3 files changed, 8 insertions, 3 deletions
diff --git a/app/assets/javascripts/vue_shared/components/commit.vue b/app/assets/javascripts/vue_shared/components/commit.vue index 6d1fe7ee8ca..97789636787 100644 --- a/app/assets/javascripts/vue_shared/components/commit.vue +++ b/app/assets/javascripts/vue_shared/components/commit.vue @@ -118,7 +118,7 @@ <template> <div class="branch-commit"> <template v-if="hasCommitRef && showBranch"> - <div class="icon-container hidden-xs"> + <div class="icon-container"> <i v-if="tag" class="fa fa-tag" @@ -132,7 +132,7 @@ </div> <a - class="ref-name hidden-xs" + class="ref-name" :href="commitRef.ref_url" v-tooltip data-container="body" diff --git a/app/assets/stylesheets/pages/pipelines.scss b/app/assets/stylesheets/pages/pipelines.scss index db88d4a16b7..f10908c3630 100644 --- a/app/assets/stylesheets/pages/pipelines.scss +++ b/app/assets/stylesheets/pages/pipelines.scss @@ -121,7 +121,7 @@ .ref-name { font-weight: $gl-font-weight-bold; - max-width: 120px; + max-width: 100px; overflow: hidden; display: inline-block; white-space: nowrap; diff --git a/changelogs/unreleased/style-include-branch-in-mobile-view.yml b/changelogs/unreleased/style-include-branch-in-mobile-view.yml new file mode 100644 index 00000000000..5c8ef86992d --- /dev/null +++ b/changelogs/unreleased/style-include-branch-in-mobile-view.yml @@ -0,0 +1,5 @@ +--- +title: Include branch in mobile view for pipelines +merge_request: 16910 +author: George Tsiolis +type: other |