summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorhaseeb <haseebeqx@yahoo.com>2018-02-21 22:34:45 +0530
committerhaseeb <haseebeqx@yahoo.com>2018-02-28 18:48:26 +0530
commitcfdbfcc621a7e04c8604bd2d11c1e8a3c764f8c7 (patch)
treed1845cc8d377c32f38bdfd872dc97503375eaaec /app/views/shared
parentbab24c2fcd54622ed09ffd076e38560b42510773 (diff)
downloadgitlab-ce-cfdbfcc621a7e04c8604bd2d11c1e8a3c764f8c7.tar.gz
fix for chrome issue
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/snippets/_header.html.haml17
1 files changed, 8 insertions, 9 deletions
diff --git a/app/views/shared/snippets/_header.html.haml b/app/views/shared/snippets/_header.html.haml
index 30ad8932e84..9d55afba591 100644
--- a/app/views/shared/snippets/_header.html.haml
+++ b/app/views/shared/snippets/_header.html.haml
@@ -31,18 +31,17 @@
%textarea.hidden.js-task-list-field
= @snippet.description
- if public_snippet?
- .pull-right
+ .embed-snippet.pull-right.col-md-6
.input-group
.input-group-btn
- %button.btn.btn-default.dropdown-toggle{ 'data-toggle': 'dropdown' }
+ %a.btn.btn-default.embed-toggle.dropdown-toggle{ 'data-toggle': 'dropdown' }
%span#embed-action Embed
- = sprite_icon('angle-down', size: 16)
- .dropdown-menu
- %ul
- %li
- %a#embed-btn{ href: "#" } Embed
- %li
- %a#share-btn{ href: "#" } Share
+ = sprite_icon('angle-down', size: 12)
+ %ul.dropdown-menu.dropdown-menu-selectable.dropdown-menu-right
+ %li
+ %a#embed-btn.btn.btn-transparent{ href: "#" } Embed
+ %li
+ %a#share-btn.btn.btn-transparent{ href: "#" } 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' } }