From c77b167bfadaf6f3a36f8cb20e45c578277b120e Mon Sep 17 00:00:00 2001 From: Georg Ringer <georg.ringer@gmail.com> Date: Mon, 27 Feb 2017 08:37:21 +0100 Subject: [PATCH] [BUGFIX] Avoid page path floating left in DocHeader Fix the position of the page path in DocHeader. Resolves: #80045 Releases: master Change-Id: If50725fcb4342011562b008fd98d248a0367a4be Reviewed-on: https://review.typo3.org/51875 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de> --- Build/Resources/Public/Less/Component/module.less | 4 ++++ .../sysext/backend/Resources/Private/Partials/DocHeader.html | 2 +- typo3/sysext/backend/Resources/Public/Css/backend.css | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Build/Resources/Public/Less/Component/module.less b/Build/Resources/Public/Less/Component/module.less index d3eb97604ff9..fc9b1f046d8f 100644 --- a/Build/Resources/Public/Less/Component/module.less +++ b/Build/Resources/Public/Less/Component/module.less @@ -128,6 +128,10 @@ .module-docheader-bar-navigation { .module-docheader-bar-column-left { white-space: nowrap; + + @media (max-width: @screen-sm) { + white-space: normal; + } } .form-group select { width: 100%; diff --git a/typo3/sysext/backend/Resources/Private/Partials/DocHeader.html b/typo3/sysext/backend/Resources/Private/Partials/DocHeader.html index 660d485e6f65..0a9e24dc8f3f 100644 --- a/typo3/sysext/backend/Resources/Private/Partials/DocHeader.html +++ b/typo3/sysext/backend/Resources/Private/Partials/DocHeader.html @@ -31,7 +31,7 @@ </f:if> </f:then> <f:else> - <div class="module-docheader-bar-column-left col-xs-12"> + <div class="module-docheader-bar-column-left col-xs-12 text-right"> </f:else> </f:if> <f:if condition="{docHeader.metaInformation.recordInformation}"> diff --git a/typo3/sysext/backend/Resources/Public/Css/backend.css b/typo3/sysext/backend/Resources/Public/Css/backend.css index 48f2791503ba..774b9cafff2b 100644 --- a/typo3/sysext/backend/Resources/Public/Css/backend.css +++ b/typo3/sysext/backend/Resources/Public/Css/backend.css @@ -8344,6 +8344,11 @@ div.dropdown-menu { .module-docheader-bar-navigation .module-docheader-bar-column-left { white-space: nowrap; } +@media (max-width: 768px) { + .module-docheader-bar-navigation .module-docheader-bar-column-left { + white-space: normal; + } +} .module-docheader-bar-navigation .form-group select { width: 100%; } -- GitLab