fix: adjust listing item padding
parent
1b79b0c166
commit
cfb4f8662e
|
@ -54,7 +54,10 @@ export default {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.req.path.startsWith(`/${trashDir}/`)) {
|
if (
|
||||||
|
this.req.path.startsWith(`/${trashDir}/`) ||
|
||||||
|
this.req.path.endsWith(`/${trashDir}`)
|
||||||
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -118,7 +118,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
padding: 1em;
|
padding: .2em .5em;
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -277,13 +277,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#listing.list .item .symlink-icon.dir {
|
#listing.list .item .symlink-icon.dir {
|
||||||
font-size: 1.2em;
|
font-size: 1em;
|
||||||
left: 1em;
|
left: .8em;
|
||||||
bottom: 1em;
|
bottom: .6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#listing.list .item .symlink-icon.file {
|
#listing.list .item .symlink-icon.file {
|
||||||
font-size: 1.2em;
|
font-size: 1em;
|
||||||
left: 1.14em;
|
left: .9em;
|
||||||
bottom: .85em;
|
bottom: .4em;
|
||||||
}
|
}
|
Loading…
Reference in New Issue