Only show border for files with generated previews
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
9306caec3e
commit
e1e65021b1
|
@ -334,6 +334,12 @@ table td.filename .thumbnail {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 4;
|
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 {
|
table td.filename input.filename {
|
||||||
width: 70%;
|
width: 70%;
|
||||||
margin-left: 48px;
|
margin-left: 48px;
|
||||||
|
@ -835,7 +841,6 @@ table.dragshadow td.size {
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
border: 1px solid var(--color-border);
|
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue