Skip to content

best way to save what you love

web/SidebarTab: never break the tab name line

wukko0749106b9620
diff --git a/web/src/components/sidebar/SidebarTab.svelte b/web/src/components/sidebar/SidebarTab.svelte
index 2330039f..aa0efc85 100644
--- a/web/src/components/sidebar/SidebarTab.svelte
+++ b/web/src/components/sidebar/SidebarTab.svelte
@@ -48,7 +48,7 @@
{/if}
<svelte:component this={icon} />
- {$t(`tabs.${name}`)}
+ <span class="tab-title">{$t(`tabs.${name}`)}</span>
</a>
<style>
@@ -108,6 +108,10 @@
opacity: 0.7;
}
+ .tab-title {
+ white-space: nowrap;
+ }
+
@keyframes pressButton {
0% {
transform: scale(0.9);