fix: adjust listing item padding

pull/3756/head
Laurynas Gadliauskas 2021-06-04 12:53:37 +03:00
parent 1b79b0c166
commit cfb4f8662e
2 changed files with 11 additions and 8 deletions

View File

@ -54,7 +54,10 @@ export default {
return false;
}
if (this.req.path.startsWith(`/${trashDir}/`)) {
if (
this.req.path.startsWith(`/${trashDir}/`) ||
this.req.path.endsWith(`/${trashDir}`)
) {
return false;
}

View File

@ -118,7 +118,7 @@
width: 100%;
margin: 0;
border: 1px solid rgba(0, 0, 0, 0.1);
padding: 1em;
padding: .2em .5em;
border-top: 0;
}
@ -277,13 +277,13 @@
}
#listing.list .item .symlink-icon.dir {
font-size: 1.2em;
left: 1em;
bottom: 1em;
font-size: 1em;
left: .8em;
bottom: .6em;
}
#listing.list .item .symlink-icon.file {
font-size: 1.2em;
left: 1.14em;
bottom: .85em;
font-size: 1em;
left: .9em;
bottom: .4em;
}