2025-03-28 14:16:20 +01:00
|
|
|
<script lang="ts">
|
2025-10-13 16:05:50 +02:00
|
|
|
let {
|
|
|
|
|
toggle = $bindable(false)
|
|
|
|
|
}: {
|
|
|
|
|
toggle?: boolean;
|
|
|
|
|
} = $props();
|
2024-09-05 14:58:26 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<button class="button small_button round"
|
|
|
|
|
class:button_highlight={toggle}
|
|
|
|
|
style="margin: 0;"
|
2025-10-13 16:05:50 +02:00
|
|
|
onclick={() => toggle = !toggle}
|
2024-09-05 14:58:26 +02:00
|
|
|
>
|
2026-11-09 20:26:23 +01:00
|
|
|
<i class="icon i_help"></i>
|
2024-09-05 14:58:26 +02:00
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
.button {
|
|
|
|
|
flex: 0 0 content;
|
|
|
|
|
background: none;
|
|
|
|
|
color: var(--body_text_color);
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
|
|
|
|
</style>
|