Commit 53df0d9a authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '39290-fix-border-of-readme-when-vue_file_list-enabled' into 'master'

Fix top border of README in vue_file_list

Closes #39290

See merge request gitlab-org/gitlab!21578
parents 777ca883 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" />
......
---
title: Fix top border of README in vue_file_list
merge_request: 21578
author: Hector Bustillos
type: fixed
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment