diff --git a/core/themes/claro/css/components/tabs.css b/core/themes/claro/css/components/tabs.css index 189cf5bbeb..29aaf45c99 100644 --- a/core/themes/claro/css/components/tabs.css +++ b/core/themes/claro/css/components/tabs.css @@ -194,6 +194,11 @@ .tabs-wrapper { display: flex; } + + .tabs-wrapper--secondary { + position: relative; + } + .is-horizontal .tabs { flex-direction: row; width: auto; @@ -239,6 +244,7 @@ background: none; font-size: 1rem; } + .is-horizontal .tabs__tab.is-active { order: 0; background: none; diff --git a/core/themes/claro/css/components/tabs.pcss.css b/core/themes/claro/css/components/tabs.pcss.css index 38248652d1..a993207f6b 100644 --- a/core/themes/claro/css/components/tabs.pcss.css +++ b/core/themes/claro/css/components/tabs.pcss.css @@ -176,6 +176,11 @@ .tabs-wrapper { display: flex; } + + .tabs-wrapper--secondary { + position: relative; + } + .is-horizontal .tabs { flex-direction: row; width: auto; @@ -221,6 +226,7 @@ background: none; font-size: var(--font-size-base); } + .is-horizontal .tabs__tab.is-active { order: 0; background: none; diff --git a/core/themes/claro/templates/menu-local-tasks.html.twig b/core/themes/claro/templates/menu-local-tasks.html.twig index 354a27ca36..aca4611976 100644 --- a/core/themes/claro/templates/menu-local-tasks.html.twig +++ b/core/themes/claro/templates/menu-local-tasks.html.twig @@ -21,7 +21,7 @@ {% endif %} {% if secondary %}

{{ 'Secondary tabs'|t }}

-