fix(files): Revert CSS causing the file name to have no bounding box

Instead add the direction only to the filename wrapper not the button.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2024-11-11 19:56:07 +01:00
parent 8fdae44816
commit cce34c591e
No known key found for this signature in database
GPG key ID: 45FAE7268762B400
2 changed files with 3 additions and 4 deletions

View file

@ -26,10 +26,9 @@
:aria-hidden="isRenaming"
class="files-list__row-name-link"
data-cy-files-list-row-name-link
v-bind="linkTo.params"
dir="auto">
v-bind="linkTo.params">
<!-- Filename -->
<span class="files-list__row-name-text">
<span class="files-list__row-name-text" dir="auto">
<!-- Keep the filename stuck to the extension to avoid whitespace rendering issues-->
<span class="files-list__row-name-" v-text="basename" />
<span class="files-list__row-name-ext" v-text="extension" />

View file

@ -641,7 +641,7 @@ export default defineComponent({
flex: 1 1 auto;
button.files-list__row-name-link {
display: contents;
display: flex;
align-items: center;
text-align: start;
// Fill cell height and width