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
699956e3
Commit
699956e3
authored
Dec 16, 2019
by
Hector Bustillos
Committed by
Kushal Pandya
Dec 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix top border of README in vue_file_list
parent
777ca883
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
17 deletions
+28
-17
app/assets/javascripts/repository/components/preview/index.vue
...ssets/javascripts/repository/components/preview/index.vue
+7
-5
changelogs/unreleased/39290-fix-border-of-readme-when-vue_file_list-enabled.yml
...39290-fix-border-of-readme-when-vue_file_list-enabled.yml
+5
-0
spec/frontend/repository/components/preview/__snapshots__/index_spec.js.snap
...itory/components/preview/__snapshots__/index_spec.js.snap
+16
-12
No files found.
app/assets/javascripts/repository/components/preview/index.vue
View file @
699956e3
...
@@ -35,11 +35,13 @@ export default {
...
@@ -35,11 +35,13 @@ export default {
<
template
>
<
template
>
<article
class=
"file-holder limited-width-container readme-holder"
>
<article
class=
"file-holder limited-width-container readme-holder"
>
<div
class=
"file-title"
>
<div
class=
"js-file-title file-title-flex-parent"
>
<i
aria-hidden=
"true"
class=
"fa fa-file-text-o fa-fw"
></i>
<div
class=
"file-header-content"
>
<gl-link
:href=
"blob.webUrl"
>
<i
aria-hidden=
"true"
class=
"fa fa-file-text-o fa-fw"
></i>
<strong>
{{
blob
.
name
}}
</strong>
<gl-link
:href=
"blob.webUrl"
>
</gl-link>
<strong>
{{
blob
.
name
}}
</strong>
</gl-link>
</div>
</div>
</div>
<div
class=
"blob-viewer"
>
<div
class=
"blob-viewer"
>
<gl-loading-icon
v-if=
"loading > 0"
size=
"md"
class=
"my-4 mx-auto"
/>
<gl-loading-icon
v-if=
"loading > 0"
size=
"md"
class=
"my-4 mx-auto"
/>
...
...
changelogs/unreleased/39290-fix-border-of-readme-when-vue_file_list-enabled.yml
0 → 100644
View file @
699956e3
---
title
:
Fix top border of README in vue_file_list
merge_request
:
21578
author
:
Hector Bustillos
type
:
fixed
spec/frontend/repository/components/preview/__snapshots__/index_spec.js.snap
View file @
699956e3
...
@@ -5,20 +5,24 @@ exports[`Repository file preview component renders file HTML 1`] = `
...
@@ -5,20 +5,24 @@ exports[`Repository file preview component renders file HTML 1`] = `
class="file-holder limited-width-container readme-holder"
class="file-holder limited-width-container readme-holder"
>
>
<div
<div
class="
file-title
"
class="
js-file-title file-title-flex-parent
"
>
>
<i
<div
aria-hidden="true"
class="file-header-content"
class="fa fa-file-text-o fa-fw"
/>
<gllink-stub
href="http://test.com"
>
>
<strong>
<i
README.md
aria-hidden="true"
</strong>
class="fa fa-file-text-o fa-fw"
</gllink-stub>
/>
<gllink-stub
href="http://test.com"
>
<strong>
README.md
</strong>
</gllink-stub>
</div>
</div>
</div>
<div
<div
...
...
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