From 5e17a366a753da05fd5ab7d267626c041925e636 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 15 Nov 2024 20:08:11 +0100 Subject: Fix tabs --- src/objects/_tabs.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/objects/_tabs.scss b/src/objects/_tabs.scss index 25894d5..30154f9 100644 --- a/src/objects/_tabs.scss +++ b/src/objects/_tabs.scss @@ -12,8 +12,9 @@ @include materialize-at-root(meta.module-variables('vars')); @include bem.object('tabs') { - display: flex; - gap: props.get(vars.$spacing); + display: flex; + gap: props.get(vars.$spacing); + overflow-inline: auto; @include bem.elem('tab') { position: relative; @@ -22,6 +23,7 @@ padding-inline: props.get(vars.$tab--pad-i); margin-inline: calc(-1 * props.get(vars.$tab--pad-i)); color: props.get(vars.$tab--text-color); + white-space: nowrap; &::before, &::after { -- cgit v1.2.3-70-g09d2