Update file row styling

This commit is contained in:
Illya Klymov 2019-08-16 05:52:15 +03:00 committed by Paul Slaughter
parent f4ce990b0e
commit 99897d41fc
No known key found for this signature in database
GPG Key ID: DF5690803C68282A
2 changed files with 7 additions and 6 deletions

View File

@ -146,6 +146,7 @@ export default {
<span ref="textOutput" :style="levelIndentation" class="file-row-name str-truncated">
<file-icon
v-if="!showChangedIcon || file.type === 'tree'"
class="file-row-icon"
:file-name="file.name"
:loading="file.loading"
:folder="isTree"
@ -223,13 +224,8 @@ export default {
white-space: nowrap;
}
.file-row-name svg {
.file-row-name .file-row-icon {
margin-right: 2px;
vertical-align: middle;
}
.file-row-name .loading-container {
display: inline-block;
margin-right: 4px;
}
</style>

View File

@ -0,0 +1,5 @@
---
title: Fix loading icon causing text to jump in file row of Web IDE
merge_request: 31884
author:
type: fixed