Commit d4a5e3fd authored by Paul Slaughter's avatar Paul Slaughter

Merge branch 'fix-file-row-styling' into 'master'

Update file row styling

See merge request gitlab-org/gitlab-ce!31884
parents f3d65e78 99897d41
...@@ -146,6 +146,7 @@ export default { ...@@ -146,6 +146,7 @@ export default {
<span ref="textOutput" :style="levelIndentation" class="file-row-name str-truncated"> <span ref="textOutput" :style="levelIndentation" class="file-row-name str-truncated">
<file-icon <file-icon
v-if="!showChangedIcon || file.type === 'tree'" v-if="!showChangedIcon || file.type === 'tree'"
class="file-row-icon"
:file-name="file.name" :file-name="file.name"
:loading="file.loading" :loading="file.loading"
:folder="isTree" :folder="isTree"
...@@ -223,13 +224,8 @@ export default { ...@@ -223,13 +224,8 @@ export default {
white-space: nowrap; white-space: nowrap;
} }
.file-row-name svg { .file-row-name .file-row-icon {
margin-right: 2px; margin-right: 2px;
vertical-align: middle; vertical-align: middle;
} }
.file-row-name .loading-container {
display: inline-block;
margin-right: 4px;
}
</style> </style>
---
title: Fix loading icon causing text to jump in file row of Web IDE
merge_request: 31884
author:
type: fixed
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