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
0f62e0eb
Commit
0f62e0eb
authored
Jun 14, 2017
by
Eric Eastwood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Even out spacing in panel body token list
parent
db60fbe7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
61 additions
and
54 deletions
+61
-54
app/assets/javascripts/issuable/related_issues/components/add_issuable_form.vue
.../issuable/related_issues/components/add_issuable_form.vue
+1
-1
app/assets/javascripts/issuable/related_issues/components/related_issues_block.vue
...suable/related_issues/components/related_issues_block.vue
+2
-2
app/assets/stylesheets/framework/panels.scss
app/assets/stylesheets/framework/panels.scss
+47
-50
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+4
-0
app/assets/stylesheets/pages/issues/related_issues.scss
app/assets/stylesheets/pages/issues/related_issues.scss
+7
-1
No files found.
app/assets/javascripts/issuable/related_issues/components/add_issuable_form.vue
View file @
0f62e0eb
...
...
@@ -126,7 +126,7 @@ export default {
</li>
</ul>
</div>
<div
class=
"
clearfix prepend-top-10
"
>
<div
class=
"
add-issuable-form-actions clearfix
"
>
<button
ref=
"addButton"
type=
"button"
...
...
app/assets/javascripts/issuable/related_issues/components/related_issues_block.vue
View file @
0f62e0eb
...
...
@@ -146,9 +146,9 @@ export default {
</div>
<div
v-if=
"hasRelatedIssues"
class=
"panel-body"
>
class=
"
related-issues-token-body
panel-body"
>
<ul
class=
"related-issues-token-
body
"
>
class=
"related-issues-token-
list
"
>
<li
:key=
"issue.id"
v-for=
"issue in relatedIssues"
...
...
app/assets/stylesheets/framework/panels.scss
View file @
0f62e0eb
@mixin
panel
{
.panel-heading
{
padding
:
$gl-vert-padding
$gl-padding
;
line-height
:
36px
;
.controls
{
margin-top
:
-2px
;
float
:
right
;
}
.dropdown-menu-toggle
{
line-height
:
20px
;
}
.badge
{
margin-top
:
-2px
;
margin-left
:
5px
;
}
&
.split
{
display
:
flex
;
align-items
:
center
;
}
.left
{
flex
:
1
1
auto
;
}
.right
{
flex
:
0
0
auto
;
text-align
:
right
;
}
.panel
{
margin-bottom
:
$gl-padding
;
}
.panel-slim
{
@extend
.panel
;
margin-bottom
:
$gl-vert-padding
;
}
.panel-heading
{
padding
:
$gl-vert-padding
$gl-padding
;
line-height
:
36px
;
.controls
{
margin-top
:
-2px
;
float
:
right
;
}
.
panel-empty-heading
{
border-bottom
:
0
;
.
dropdown-menu-toggle
{
line-height
:
20px
;
}
.panel-body
{
padding
:
$gl-padding
;
.badge
{
margin-top
:
-2px
;
margin-left
:
5px
;
}
.form-actions
{
margin
:
-
$gl-padding
;
margin-top
:
$gl-padding
;
}
&
.split
{
display
:
flex
;
align-items
:
center
;
}
.panel-title
{
font-size
:
inherit
;
line-height
:
inherit
;
.left
{
flex
:
1
1
auto
;
}
.right
{
flex
:
0
0
auto
;
text-align
:
right
;
}
}
.panel
{
@include
panel
;
margin-bottom
:
$gl-padding
;
.panel-empty-heading
{
border-bottom
:
0
;
}
.panel-slim
{
@extend
.panel
;
@include
panel
;
margin-bottom
:
$gl-vert-padding
;
.panel-body
{
padding
:
$gl-padding
;
.form-actions
{
margin
:
-
$gl-padding
;
margin-top
:
$gl-padding
;
}
}
.panel-title
{
font-size
:
inherit
;
line-height
:
inherit
;
}
app/assets/stylesheets/pages/issuable.scss
View file @
0f62e0eb
...
...
@@ -768,3 +768,7 @@
outline
:
none
;
}
}
.add-issuable-form-actions
{
margin-top
:
$gl-padding
;
}
app/assets/stylesheets/pages/issues/related_issues.scss
View file @
0f62e0eb
$token_spacing_bottom
:
0
.5em
;
.related-issues-block
{
margin-top
:
3
*
$gl-vert-padding
;
}
...
...
@@ -21,6 +23,10 @@
}
.related-issues-token-body
{
padding-bottom
:
calc
(
#{
$gl-padding
}
-
#{
$token_spacing_bottom
}
);
}
.related-issues-token-list
{
display
:
flex
;
flex-wrap
:
wrap
;
margin-bottom
:
0
;
...
...
@@ -30,6 +36,6 @@
.related-issues-token-list-item
{
max-width
:
100%
;
margin-bottom
:
0
.5e
m
;
margin-bottom
:
$token_spacing_botto
m
;
margin-right
:
5px
;
}
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