Skip to content

Commit 1c8c075

Browse files
authored
Merge pull request #30482 from nextcloud/backport/30423/stable21
2 parents dbdc814 + 4ac98ee commit 1c8c075

1 file changed

Lines changed: 25 additions & 9 deletions

File tree

apps/files/css/files.scss

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -420,11 +420,6 @@ table {
420420
padding: 0 20px 0 0;
421421
}
422422
}
423-
424-
.uploadtext {
425-
position: absolute;
426-
left: 55px;
427-
}
428423
}
429424

430425
.hide-hidden-files #filestable #fileList tr.hidden-file,
@@ -452,13 +447,22 @@ table td.filename .nametext .innernametext {
452447
/* for smaller resolutions - see mobile.css */
453448

454449
table td.filename .uploadtext {
450+
position: absolute;
455451
font-weight: normal;
456-
margin-left: 55px;
457-
margin-top: 5px;
452+
// checkbox width
453+
margin-left: 50px;
454+
left: 0;
455+
bottom: 0;
458456
height: 20px;
459-
padding: 10px 0;
457+
padding: 0 4px;
458+
// align with file name
459+
padding-left: 1px;
460460
font-size: 11px;
461-
opacity: .5;
461+
// double the font size
462+
line-height: 22px;
463+
color: var(--color-text-maxcontrast);
464+
text-overflow: ellipsis;
465+
white-space: nowrap;
462466
}
463467

464468
table td.selection {
@@ -975,6 +979,18 @@ table.dragshadow td.size {
975979
}
976980
}
977981

982+
.uploadtext {
983+
width: 100%;
984+
margin: 0;
985+
top: 0;
986+
bottom: auto;
987+
// checkbox align
988+
height: 28px;
989+
padding-top: 4px;
990+
// checkbox margins
991+
padding-left: calc(44px - 16px);
992+
}
993+
978994
.name {
979995
height: 100%;
980996
border-radius: var(--border-radius);

0 commit comments

Comments
 (0)