From 0f4c947a03aa52e069aa82564e6323f05b71ad3c Mon Sep 17 00:00:00 2001 From: Cesar G Date: Thu, 29 May 2014 19:13:26 -0700 Subject: [PATCH] [ticket/12553] Center the responsive CP menus instead of floating right. PHPBB3-12553 --- phpBB/styles/prosilver/theme/bidi.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/phpBB/styles/prosilver/theme/bidi.css b/phpBB/styles/prosilver/theme/bidi.css index cad84b765c..7bf0cca037 100644 --- a/phpBB/styles/prosilver/theme/bidi.css +++ b/phpBB/styles/prosilver/theme/bidi.css @@ -723,6 +723,15 @@ ul.linklist li.small-icon > a, ul.linklist li.breadcrumbs span:first-child > a { float: right; } +/* Responsive *CP navigation +----------------------------------------*/ +@media only screen and (max-width: 900px), only screen and (max-device-width: 900px) +{ + .rtl #cp-menu, .rtl #navigation, .rtl #cp-main { + float: none; + } +} + /** * forms.css */