summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorhaseeb <haseebeqx@yahoo.com>2018-02-22 19:34:35 +0530
committerhaseeb <haseebeqx@yahoo.com>2018-02-28 18:48:26 +0530
commit3bed273d60554be06a9c464ed6f04f71d91c7f28 (patch)
tree178bc7100b341b0c17018ef6f4e1b665cbb0a66f /app/views/shared
parent174ee4e182522545baf05669d7dd03ff3753d322 (diff)
downloadgitlab-ce-3bed273d60554be06a9c464ed6f04f71d91c7f28.tar.gz
dropdown style fixes
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/snippets/_header.html.haml10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/views/shared/snippets/_header.html.haml b/app/views/shared/snippets/_header.html.haml
index da014da031d..3e7f6cf9f83 100644
--- a/app/views/shared/snippets/_header.html.haml
+++ b/app/views/shared/snippets/_header.html.haml
@@ -33,17 +33,19 @@
= edited_time_ago_with_tooltip(@snippet, placement: 'bottom', html_class: 'snippet-edited-ago', exclude_author: true)
- if public_snippet?
- .embed-snippet.pull-right.col-md-6
+ .embed-snippet
.input-group
.input-group-btn
%a.btn.embed-toggle{ 'data-toggle': 'dropdown' }
%span#embed-action Embed
= sprite_icon('angle-down', size: 12)
- %ul.dropdown-menu.dropdown-menu-selectable.dropdown-menu-right
+ %ul.dropdown-menu.dropdown-menu-selectable.embed-toggle-list
%li
- %a#embed-btn.btn.btn-transparent{ href: "#" } Embed
+ %a#embed-btn.btn.btn-transparent.is-active{ href: "#" }
+ %strong.embed-toggle-list-item Embed
%li
- %a#share-btn.btn.btn-transparent{ href: "#" } Share
+ %a#share-btn.btn.btn-transparent{ href: "#" }
+ %strong.embed-toggle-list-item Share
%input#snippet-url-area.snippet-embed-input.form-control{ type: "text", autocomplete: 'off', value: snippet_embed }
.input-group-btn
%a#clipboard-btn.btn.btn-default{ title: "Copy to clipboard", data: { toggle: "tooltip", placement: "bottom", title: "Copy source to clipboard", container: "body", clipboard_target: '#snippet-url-area' } }