mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
improvements to public files mobile view
This commit is contained in:
parent
50ae2ab14c
commit
db837bf696
2 changed files with 11 additions and 6 deletions
|
|
@ -234,7 +234,7 @@ table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; }
|
|||
|
||||
#fileList tr td.filename a.name label {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
width: 80%;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,5 @@
|
|||
@media only screen and (max-width: 600px) {
|
||||
|
||||
/* make header and controls bar scroll up for more view of content on small screens */
|
||||
#header,
|
||||
#controls {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
/* hide size and date columns */
|
||||
table th#headerSize,
|
||||
|
|
@ -14,5 +9,15 @@ table td.date {
|
|||
display: none;
|
||||
}
|
||||
|
||||
/* restrict length of displayed filename to prevent overflow */
|
||||
table td.filename .nametext {
|
||||
max-width: 80% !important;
|
||||
}
|
||||
/* and to make room for download button on hover */
|
||||
table tr:hover td.filename .nametext,
|
||||
table tr:focus td.filename .nametext {
|
||||
max-width: 60% !important;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue