A free, self-hostable news aggregator…
Fix aside on mobile (Origine)
Marien Fressinaud45dbe94890e5
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtmlindex 47b63f187..1480173b2 100644--- a/app/layout/aside_feed.phtml+++ b/app/layout/aside_feed.phtml@@ -11,7 +11,7 @@<a class="toggle_aside" href="#close"><?php echo _i('close'); ?></a><?php if (FreshRSS_Auth::hasAccess()) { ?>- <div class="stick configure-feeds">+ <div class="stick configure-feeds no-mobile"><a class="btn btn-important" href="<?php echo _url('subscription', 'index'); ?>"><?php echo _t('subscription_management'); ?></a><a class="btn btn-important" href="<?php echo _url('importExport', 'index'); ?>"><?php echo _i('import'); ?></a></div>diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.cssindex 7292379c0..7f60a1ec5 100644--- a/p/themes/Origine/origine.css+++ b/p/themes/Origine/origine.css@@ -582,7 +582,7 @@ a.btn {background: #fff;}.aside.aside_feed {- padding: 10px 0 50px;+ padding: 10px 0;text-align: center;}.aside.aside_feed .tree {@@ -1030,17 +1030,20 @@ a.btn {}.aside .toggle_aside,#panel .close {- position: absolute;display: block;- top: 0; right: 0;- width: 30px;- height: 30px;- line-height: 30px;+ width: 100%;+ height: 50px;+ line-height: 50px;text-align: center;background: #f6f6f6;- border-left: 1px solid #ddd;border-bottom: 1px solid #ddd;- border-radius: 0 0 0 5px;+ }++ .aside.aside_feed {+ padding: 0;+ }+ .aside.aside_feed .tree {+ position: static;}.nav_menu .btn {diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.cssindex 5a07426ea..b4cfec952 100644--- a/p/themes/base-theme/template.css+++ b/p/themes/base-theme/template.css@@ -699,19 +699,11 @@ br + br + br {/*===========*/.nav-login,.nav_menu .search,+.aside .toggle_aside,.nav_menu .toggle_aside {display: none;}-.aside .toggle_aside {- position: absolute;- right: 0;- display: none;- width: 30px;- height: 30px;- line-height: 30px;- text-align: center;-}/*=== MOBILE *//*===========*/@@ -724,11 +716,11 @@ br + br + br {.no-mobile {display: none;}+ .aside .toggle_aside,.nav-login {display: block;}.nav_menu .toggle_aside,- .aside .toggle_aside,.nav_menu .search,#panel .close img {display: inline-block;