mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix(files): sanitize name and ext display
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
parent
fb61e3a761
commit
28c2d9e906
2 changed files with 4 additions and 1 deletions
|
|
@ -83,7 +83,8 @@
|
|||
<!-- File name -->
|
||||
<span class="files-list__row-name-text">
|
||||
<!-- Keep the displayName stuck to the extension to avoid whitespace rendering issues-->
|
||||
{{ displayName }}<span class="files-list__row-name-ext" v-text="source.extension" />
|
||||
<span class="files-list__row-name-" v-text="displayName" />
|
||||
<span class="files-list__row-name-ext" v-text="source.extension" />
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -318,6 +318,8 @@ export default Vue.extend({
|
|||
// Make some space for the outline
|
||||
padding: 5px 10px;
|
||||
margin-left: -10px;
|
||||
// Align two name and ext
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.files-list__row-name-ext {
|
||||
|
|
|
|||
Loading…
Reference in a new issue