adds elevation profile

This commit is contained in:
Christian Beutel
2024-02-28 16:50:10 +01:00
parent 0d3683a319
commit 9c3e6852a0
54 changed files with 6853 additions and 48 deletions

View File

@@ -5,6 +5,7 @@
export let tabs: string[];
export let activeTab: number;
export let extraClasses: string = "";
const indicatorPosition = tweened(0, {
duration: 300,
@@ -33,7 +34,7 @@
}
</script>
<div id="tabs" class="flex gap-2 overflow-x-auto relative">
<div id="tabs" class="flex gap-2 overflow-x-auto relative {extraClasses}">
<div
class="absolute h-full bg-menu-item-background-hover rounded-t-lg top-0 z-0"
style="width: {$indicatorWidth}px; left: {$indicatorPosition}px;"