Skip to content

Commit

Permalink
Merge pull request #30482 from nextcloud/backport/30423/stable21
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Jan 7, 2022
2 parents dbdc814 + 4ac98ee commit 1c8c075
Showing 1 changed file with 25 additions and 9 deletions.
34 changes: 25 additions & 9 deletions apps/files/css/files.scss
Original file line number Diff line number Diff line change
Expand Up @@ -420,11 +420,6 @@ table {
padding: 0 20px 0 0;
}
}

.uploadtext {
position: absolute;
left: 55px;
}
}

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

table td.filename .uploadtext {
position: absolute;
font-weight: normal;
margin-left: 55px;
margin-top: 5px;
// checkbox width
margin-left: 50px;
left: 0;
bottom: 0;
height: 20px;
padding: 10px 0;
padding: 0 4px;
// align with file name
padding-left: 1px;
font-size: 11px;
opacity: .5;
// double the font size
line-height: 22px;
color: var(--color-text-maxcontrast);
text-overflow: ellipsis;
white-space: nowrap;
}

table td.selection {
Expand Down Expand Up @@ -975,6 +979,18 @@ table.dragshadow td.size {
}
}

.uploadtext {
width: 100%;
margin: 0;
top: 0;
bottom: auto;
// checkbox align
height: 28px;
padding-top: 4px;
// checkbox margins
padding-left: calc(44px - 16px);
}

.name {
height: 100%;
border-radius: var(--border-radius);
Expand Down

0 comments on commit 1c8c075

Please sign in to comment.