Add bulk download button for filesystem

This commit is contained in:
2024-05-08 18:29:59 +02:00
parent 1cf6c90c2e
commit 7bc35e912c
4 changed files with 14 additions and 16 deletions

View File

@@ -4,18 +4,15 @@ import { onMount } from "svelte"
let ad_type = ""
onMount(() => {
// 30% pixeldrain socials
// 20% reviews
// 10% ad block promo
// 40% patreon
// 40% pixeldrain socials
// 10% reviews
// 50% patreon
let rand = Math.random()
if (rand < 0.3) {
if (rand < 0.4) {
ad_type = "socials"
} else if (rand < 0.5) {
ad_type = "reviews"
} else if (rand < 0.6) {
ad_type = "ad_block"
} else {
ad_type = "patreon_support"
}

View File

@@ -637,8 +637,7 @@ const keyboard_event = evt => {
.headerbar > * {
flex-grow: 0;
flex-shrink: 0;
margin-left: 4px;
margin-right: 4px;
margin: 3px;
}
.headerbar > .file_viewer_headerbar_title {
flex-grow: 1;