Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
9b4ab0af
Commit
9b4ab0af
authored
6 years ago
by
haseeb
Committed by
Clement Ho
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed copy to cliboard button in embedded snippets
parent
d98364fa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
app/assets/stylesheets/framework/snippets.scss
app/assets/stylesheets/framework/snippets.scss
+2
-1
app/views/shared/snippets/_header.html.haml
app/views/shared/snippets/_header.html.haml
+1
-1
changelogs/unreleased/46303_copy_button_fix_embedded_snippets.yml
...gs/unreleased/46303_copy_button_fix_embedded_snippets.yml
+5
-0
No files found.
app/assets/stylesheets/framework/snippets.scss
View file @
9b4ab0af
...
...
@@ -67,7 +67,8 @@
padding
:
8px
40px
;
}
.embed-toggle
{
.embed-toggle
,
.snippet-clipboard-btn
{
height
:
35px
;
}
}
This diff is collapsed.
Click to expand it.
app/views/shared/snippets/_header.html.haml
View file @
9b4ab0af
...
...
@@ -45,6 +45,6 @@
%strong
.embed-toggle-list-item
=
_
(
"Share"
)
%input
.js-snippet-url-area.snippet-embed-input.form-control
{
type:
"text"
,
autocomplete:
'off'
,
value:
snippet_embed
}
.input-group-btn
%button
.js-clipboard-btn.
btn.btn-default.has-tooltip
{
title:
"Copy to clipboard"
,
'data-clipboard-target'
:
'#
snippet-url-area'
}
%button
.js-clipboard-btn.
snippet-clipboard-btn.btn.btn-default.has-tooltip
{
title:
"Copy to clipboard"
,
'data-clipboard-target'
:
'.js-
snippet-url-area'
}
=
sprite_icon
(
'duplicate'
,
size:
16
)
.clearfix
This diff is collapsed.
Click to expand it.
changelogs/unreleased/46303_copy_button_fix_embedded_snippets.yml
0 → 100644
View file @
9b4ab0af
---
title
:
fixed copy to blipboard button in embed bar of snippets
merge_request
:
18923
author
:
haseebeqx
type
:
fixed
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment