Skip to content

Commit eb3d01a

Browse files
author
Vincent Petry
authored
Merge pull request #28872 from owncloud/fh-fix_broken-trashbin-layout
Fix overlapping selectively in default fileslist
2 parents 7c7e4f9 + 9c8cf01 commit eb3d01a

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

apps/files/css/files.css

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,15 +315,15 @@ table td.filename .nametext, .uploadtext, .modified, .column-last>span:first-chi
315315

316316
/* TODO fix usability bug (accidental file/folder selection) */
317317
table td.filename .nametext {
318+
position: absolute;
319+
left: 55px;
318320
padding: 0;
319321
overflow: hidden;
320322
text-overflow: ellipsis;
321323
max-width: 800px;
322324
height: 100%;
323325
}
324326
.has-favorites #fileList td.filename a.name {
325-
display: flex;
326-
justify-content: space-between;
327327
left: 50px;
328328
margin-right: 50px;
329329
}
@@ -513,6 +513,8 @@ html.ie8 #fileList tr.selected td.filename>.selectCheckBox {
513513

514514
/* File actions */
515515
.fileactions {
516+
position: absolute;
517+
right: 0;
516518
}
517519

518520
.busy .fileactions, .busy .action {
@@ -845,3 +847,28 @@ html.ie8 #controls .button.new {
845847
#filestable tbody tr.canDrop {
846848
background-color: rgba(255, 255, 140, 1);
847849
}
850+
851+
/* Default files-list incl. sharing */
852+
853+
#app-content-files table td.filename .nametext,
854+
#app-content-sharingin table td.filename .nametext,
855+
#app-content-sharingout table td.filename .nametext {
856+
position: static;
857+
left: inherit;
858+
}
859+
860+
#app-content-files.has-favorites #fileList td.filename a.name,
861+
#app-content-sharingin.has-favorites #fileList td.filename a.name,
862+
#app-content-sharingout.has-favorites #fileList td.filename a.name {
863+
display: flex;
864+
justify-content: space-between;
865+
left: 50px;
866+
margin-right: 50px;
867+
}
868+
869+
#app-content-files .fileactions,
870+
#app-content-sharingin .fileactions,
871+
#app-content-sharingout .fileactions {
872+
position: inherit;
873+
right: inherit;
874+
}

0 commit comments

Comments
 (0)