mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(files_versions): give the version label a min width so it does not get invisible if the author name is long
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
This commit is contained in:
parent
3bc4e0ff28
commit
422e3d9ab5
1 changed files with 11 additions and 1 deletions
|
|
@ -45,7 +45,10 @@
|
|||
disable-menu
|
||||
disable-tooltip
|
||||
:show-user-status="false" />
|
||||
<div>{{ versionAuthor }}</div>
|
||||
<div class="version__info__author_name"
|
||||
:title="versionAuthor">
|
||||
{{ versionAuthor }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -349,12 +352,19 @@ export default defineComponent({
|
|||
gap: 0.5rem;
|
||||
color: var(--color-main-text);
|
||||
font-weight: 500;
|
||||
overflow: hidden;
|
||||
|
||||
&__label {
|
||||
font-weight: 700;
|
||||
// Fix overflow on narrow screens
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
min-width: 110px;
|
||||
}
|
||||
|
||||
&__author_name {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
&__date {
|
||||
|
|
|
|||
Loading…
Reference in a new issue