Only show border for files with generated previews

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2019-03-14 16:36:55 +01:00
parent 9306caec3e
commit e1e65021b1
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
1 changed files with 6 additions and 1 deletions

View File

@ -334,6 +334,12 @@ table td.filename .thumbnail {
position: absolute;
z-index: 4;
}
// Show slight border around previews for images, txt, etc.
table tr[data-has-preview='true'] .thumbnail {
border: 1px solid var(--color-border);
}
table td.filename input.filename {
width: 70%;
margin-left: 48px;
@ -835,7 +841,6 @@ table.dragshadow td.size {
background-size: contain;
margin: 0;
border-radius: var(--border-radius);
border: 1px solid var(--color-border);
background-repeat: no-repeat;
background-position: center;