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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
3b3a4d15
Commit
3b3a4d15
authored
Jan 14, 2021
by
Yogi
Committed by
David O'Regan
Jan 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove margin-top: 0 for snippets empty state
parent
da836ecd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
app/views/shared/empty_states/_snippets.html.haml
app/views/shared/empty_states/_snippets.html.haml
+1
-3
changelogs/unreleased/yo-master-patch-66129.yml
changelogs/unreleased/yo-master-patch-66129.yml
+5
-0
No files found.
app/views/shared/empty_states/_snippets.html.haml
View file @
3b3a4d15
-
button_path
=
local_assigns
.
fetch
(
:button_path
,
false
)
.row.empty-state
.mt-0
.row.empty-state
.col-12
.svg-content
=
image_tag
'illustrations/snippets_empty.svg'
,
data:
{
qa_selector:
'svg_content'
}
...
...
@@ -16,5 +16,3 @@
=
link_to
s_
(
'SnippetsEmptyState|Documentation'
),
help_page_path
(
'user/snippets.md'
),
class:
'btn btn-default'
,
title:
s_
(
'SnippetsEmptyState|Documentation'
)
-
else
%h4
.text-center
=
s_
(
'SnippetsEmptyState|There are no snippets to show.'
)
changelogs/unreleased/yo-master-patch-66129.yml
0 → 100644
View file @
3b3a4d15
---
title
:
Remove margin top for snippets empty state
merge_request
:
51038
author
:
Yogi (@yo)
type
:
fixed
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