From eb0195dd7c1ea62b7c3422af11c538563aff8965 Mon Sep 17 00:00:00 2001 From: hanakin Date: Sun, 27 Oct 2019 12:14:44 -1000 Subject: [ticket/16188] fix acp responsive stats PHPBB3-16188 --- phpBB/adm/style/admin.css | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) (limited to 'phpBB/adm/style') diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index 4f0a3312e4..5d7c013aba 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -728,13 +728,6 @@ td { border-collapse: separate; } -@media only screen and (min-width: 1100px), only screen and (min-device-width: 1100px) { - .lside .table1 { - display: inline-table; - width: 49.7%; - } -} - .tabled { width: 25%; } @@ -1073,6 +1066,36 @@ table.fixed-width-table { } } +.lside { + display: flex; + flex-direction: column; +} + +.lside .table1 { + display: table; + width: 100%; +} + +.lside .table1:first-child { + margin-right: 20px; +} + +@media (min-width: 1025px) { + .lside { + flex-direction: row; + } + + .lside .table1 { + flex: 1; + } + + .lside .table1:first-child { + margin-bottom: 0; + margin-right: 20px; + } +} + + /* General form styles ----------------------------------------*/ fieldset { -- cgit v1.2.1