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
50298bcc
Commit
50298bcc
authored
Nov 08, 2017
by
Simon Knox
Committed by
Jarka Kadlecova
Nov 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attempt to reuse some issue list styles...
parent
2cb1b407
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
18 deletions
+18
-18
app/assets/javascripts/issuable/related_issues/components/related_issue.vue
...ipts/issuable/related_issues/components/related_issue.vue
+15
-16
app/assets/javascripts/issuable/related_issues/components/related_issues_block.vue
...suable/related_issues/components/related_issues_block.vue
+1
-1
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+1
-0
app/assets/stylesheets/pages/issues/related_issues.scss
app/assets/stylesheets/pages/issues/related_issues.scss
+1
-1
No files found.
app/assets/javascripts/issuable/related_issues/components/related_issue.vue
View file @
50298bcc
...
...
@@ -81,18 +81,26 @@ export default {
</
script
>
<
template
>
<div
class=
"flex-row"
>
<div
class=
"flex-row
issue-info-container
"
>
<component
v-tooltip
:is=
"this.computedLinkElementType"
ref=
"link"
class=
"issue-token-link"
:href=
"computedPath"
:title=
"title"
data-placement=
"top"
>
<span
data-placement=
"top"
class=
"issue-main-info"
>
<div
v-if=
"hasTitle"
ref=
"title"
class=
"issue-title block-truncated"
:class=
"
{ 'issue-token-title-standalone': !canRemove }"
>
{{
title
}}
</div>
<div
ref=
"reference"
class=
"issu
e-token-reference
"
>
class=
"issu
able-info
"
>
<i
ref=
"stateIcon"
v-if=
"hasState"
...
...
@@ -104,16 +112,7 @@ export default {
:aria-label="state">
</i>
{{
displayReference
}}
</span>
<span
v-if=
"hasTitle"
ref=
"title"
class=
"js-issue-token-title issue-token-title"
:class=
"
{ 'issue-token-title-standalone': !canRemove }">
<span
class=
"issue-token-title-text"
>
{{
title
}}
</span>
</span>
</div>
</component>
<button
v-if=
"canRemove"
...
...
app/assets/javascripts/issuable/related_issues/components/related_issues_block.vue
View file @
50298bcc
...
...
@@ -160,7 +160,7 @@ export default {
label=
"Fetching related issues"
/>
</div>
<ul
class=
"flex-list content-list"
>
class=
"flex-list content-list
issuable-list
"
>
<li
:key=
"issue.id"
v-for=
"issue in relatedIssues"
...
...
app/assets/stylesheets/pages/issuable.scss
View file @
50298bcc
...
...
@@ -691,6 +691,7 @@
.issue-main-info
{
flex
:
1
auto
;
margin-right
:
10px
;
min-width
:
0
;
}
.issuable-meta
{
...
...
app/assets/stylesheets/pages/issues/related_issues.scss
View file @
50298bcc
...
...
@@ -18,7 +18,7 @@ $token_spacing_bottom: 0.5em;
}
.related-issues-token-body
{
padding
-bottom
:
calc
(
#{
$gl-padding
}
-
#{
$token_spacing_bottom
}
)
;
padding
:
0
0
0
$gl-padding
;
transition-property
:
max-height
,
padding
,
opacity
;
transition-duration
:
$general-hover-transition-duration
;
transition-timing-function
:
$general-hover-transition-curve
;
...
...
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