Tweak various progress bars

Fixes #5
This commit is contained in:
2022-05-13 17:43:10 +02:00
parent f1896972a1
commit 2561ef4ab2
6 changed files with 21 additions and 48 deletions

View File

@@ -82,7 +82,7 @@ export const set_item = idx => {
href="#item={index}"
title="Open {file.name}"
class="list_item file_button"
class:file_button_selected={file.selected}>
class:file_selected={file.selected}>
<img src={file.icon_href+"?width=48&height=48"} alt={file.name} class="list_item_thumbnail" loading="lazy"/>
{file.name}
</a>
@@ -119,4 +119,9 @@ export const set_item = idx => {
overflow-y: hidden;
white-space: nowrap;
}
.file_selected {
box-shadow: 0 0 2px 2px var(--highlight_color);
text-decoration: none;
}
</style>