diff --git a/locale.xml b/locale.xml index 3315617aae4ebb7c9fcb00dd0adc46e1746718e6..94cb1620556089c1b4a849dda310cebc3122257f 100644 --- a/locale.xml +++ b/locale.xml @@ -352,8 +352,8 @@ <en><![CDATA[Break nav title]]></en> </locale> <locale name="control.tabs.navWrapText.wrap"> - <de><![CDATA[Standard: der Titel wird umgebrochen, wenn er zu lang wird.]]></de> - <en><![CDATA[Default: the title will wrap if it becomes too long.]]></en> + <de><![CDATA[Standard: der Titel umbrechen]]></de> + <en><![CDATA[Default: wrap the title]]></en> </locale> <locale name="control.tabs.navWrapText.noWrap"> <de><![CDATA[Der Titel wird nicht umgebrochen]]></de> diff --git a/src/QUI/Menu/Controls/Tabs.css b/src/QUI/Menu/Controls/Tabs.css index 047f62efe2dc7d2b09e57c569dc0b9295e604975..9b29a1f489b67d98f4287cc8080e2ac0c381d365 100644 --- a/src/QUI/Menu/Controls/Tabs.css +++ b/src/QUI/Menu/Controls/Tabs.css @@ -17,6 +17,7 @@ display: flex; flex-wrap: nowrap; overflow: hidden; + position: relative; } @media screen and (max-width: 767px) { diff --git a/src/QUI/Menu/Controls/Tabs.php b/src/QUI/Menu/Controls/Tabs.php index 067d9158b1149a025c71477d252216666f1e191a..a1bd84def8aad14c909d0bdb3314efbc9af471e7 100644 --- a/src/QUI/Menu/Controls/Tabs.php +++ b/src/QUI/Menu/Controls/Tabs.php @@ -72,14 +72,6 @@ public function getBody() array_push($enabledEntries, $entry); } -// foreach ($entries as $entry) { -// array_push($enabledEntries, $entry); -// } -// -// foreach ($entries as $entry) { -// array_push($enabledEntries, $entry); -// } - $active = 1; if ($this->getAttribute('activeEntry') && $this->getAttribute('activeEntry') > 0) { @@ -114,7 +106,7 @@ public function getBody() $navFillSpace = 'navFillSpace'; } - if ($this->getAttribute('navWrapText') === 'noBreak') { + if ($this->getAttribute('navWrapText') === 'noWrap') { $navWrapText = 'navText__noWrap'; }