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,12 +35,14 @@ export default { ...@@ -35,12 +35,14 @@ 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">
<div class="file-header-content">
<i aria-hidden="true" class="fa fa-file-text-o fa-fw"></i> <i aria-hidden="true" class="fa fa-file-text-o fa-fw"></i>
<gl-link :href="blob.webUrl"> <gl-link :href="blob.webUrl">
<strong>{{ blob.name }}</strong> <strong>{{ blob.name }}</strong>
</gl-link> </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" />
<div v-else-if="readme" v-html="readme.html"></div> <div v-else-if="readme" v-html="readme.html"></div>
......
---
title: Fix top border of README in vue_file_list
merge_request: 21578
author: Hector Bustillos
type: fixed
...@@ -5,7 +5,10 @@ exports[`Repository file preview component renders file HTML 1`] = ` ...@@ -5,7 +5,10 @@ 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"
>
<div
class="file-header-content"
> >
<i <i
aria-hidden="true" aria-hidden="true"
...@@ -20,6 +23,7 @@ exports[`Repository file preview component renders file HTML 1`] = ` ...@@ -20,6 +23,7 @@ exports[`Repository file preview component renders file HTML 1`] = `
</strong> </strong>
</gllink-stub> </gllink-stub>
</div> </div>
</div>
<div <div
class="blob-viewer" class="blob-viewer"
......
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