From 171b6a222d164e157ebaaba6ee177ccbb6c14514 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 28 Mar 2017 15:41:12 +0200 Subject: fixes for latest bootstrap --- view/css/bootstrap-red.css | 12 +++++++++--- view/php/default.php | 2 +- view/php/full.php | 2 +- view/tpl/nav.tpl | 38 +++++++++++++++++++------------------- 4 files changed, 30 insertions(+), 24 deletions(-) (limited to 'view') diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index 4cfd3d635..c8da05787 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -29,6 +29,11 @@ nav .badge { height: 2.3rem; } +.navbar-toggler-right { + padding: 0.2rem 0; +} + + #navbar-collapse-1 i { font-size: 1rem; } @@ -42,13 +47,14 @@ nav.navbar { max-height: 100vh; } +#navbar-collapse-2 { + flex-basis: 100%; +} + #navbar-collapse-2.show { overflow: auto; } -.navbar-toggler-right { - top: 0.5rem; -} /* nav overrides end */ .wall-item-tools .dropdown-menu { diff --git a/view/php/default.php b/view/php/default.php index 1df82daa5..e4553a17f 100644 --- a/view/php/default.php +++ b/view/php/default.php @@ -8,7 +8,7 @@ >
- +
diff --git a/view/php/full.php b/view/php/full.php index 522dafb28..64e32c5bd 100644 --- a/view/php/full.php +++ b/view/php/full.php @@ -7,7 +7,7 @@
- +
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 0a9b94758..f7953c5f3 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -10,24 +10,6 @@ {{/if}} {{/if}} - {{if $userinfo}}