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
60b3cf27
Commit
60b3cf27
authored
Jul 26, 2020
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove an extra padding in y-axis on Epic detail
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
ff3e1f37
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
ee/app/assets/javascripts/epic/components/epic_body.vue
ee/app/assets/javascripts/epic/components/epic_body.vue
+2
-2
ee/changelogs/unreleased/232084-epic-title-has-extra-margin-in-epic-detail-page.yml
...32084-epic-title-has-extra-margin-in-epic-detail-page.yml
+5
-0
ee/spec/frontend/epic/components/epic_body_spec.js
ee/spec/frontend/epic/components/epic_body_spec.js
+5
-7
No files found.
ee/app/assets/javascripts/epic/components/epic_body.vue
View file @
60b3cf27
...
@@ -44,8 +44,8 @@ export default {
...
@@ -44,8 +44,8 @@ export default {
</
script
>
</
script
>
<
template
>
<
template
>
<div
class=
"issuable-details content-block"
>
<div>
<div
class=
"
detail-page-description
"
>
<div
class=
"
issuable-details detail-page-description content-block
"
>
<issuable-body
<issuable-body
:endpoint=
"endpoint"
:endpoint=
"endpoint"
:update-endpoint=
"updateEndpoint"
:update-endpoint=
"updateEndpoint"
...
...
ee/changelogs/unreleased/232084-epic-title-has-extra-margin-in-epic-detail-page.yml
0 → 100644
View file @
60b3cf27
---
title
:
Remove an extra padding in y-axis on Epic detail
merge_request
:
37886
author
:
Takuya Noguchi
type
:
fixed
ee/spec/frontend/epic/components/epic_body_spec.js
View file @
60b3cf27
...
@@ -37,13 +37,11 @@ describe('EpicBodyComponent', () => {
...
@@ -37,13 +37,11 @@ describe('EpicBodyComponent', () => {
});
});
describe
(
'
template
'
,
()
=>
{
describe
(
'
template
'
,
()
=>
{
it
(
'
renders component container element with classes `issuable-details` & `content-block`
'
,
()
=>
{
it
(
'
renders epic body container element with class `detail-page-description` & `issuable-details` & `content-block`
'
,
()
=>
{
expect
(
vm
.
$el
.
classList
.
contains
(
'
issuable-details
'
)).
toBe
(
true
);
const
el
=
vm
.
$el
.
querySelector
(
'
.detail-page-description
'
);
expect
(
vm
.
$el
.
classList
.
contains
(
'
content-block
'
)).
toBe
(
true
);
expect
(
el
).
not
.
toBeNull
();
});
expect
(
el
.
classList
.
contains
(
'
issuable-details
'
)).
toBe
(
true
);
expect
(
el
.
classList
.
contains
(
'
content-block
'
)).
toBe
(
true
);
it
(
'
renders epic body container element with class `detail-page-description`
'
,
()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.detail-page-description
'
)).
not
.
toBeNull
();
});
});
it
(
'
renders epic body elements
'
,
()
=>
{
it
(
'
renders epic body elements
'
,
()
=>
{
...
...
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