Prevent navigation from appearing in print

This commit is contained in:
Karina Kwiatek 2022-07-03 18:34:44 +02:00 committed by Andreas Nedbal
parent 645f6d87be
commit 845e8fb3a3
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
%nav.navbar.navbar-themed.navbar-expand-lg.bg-primary.fixed-top.d-lg-block.d-none{ role: :navigation } %nav.navbar.navbar-themed.navbar-expand-lg.bg-primary.fixed-top.d-lg-block.d-none.d-print-none{ role: :navigation }
.container{ class: ios_web_app? ? 'ios-web-app' : '' } .container{ class: ios_web_app? ? 'ios-web-app' : '' }
%a.navbar-brand{ href: '/' } %a.navbar-brand{ href: '/' }
= APP_CONFIG['site_name'] = APP_CONFIG['site_name']

View File

@ -1,6 +1,6 @@
= render 'navigation/mobile/profile' = render 'navigation/mobile/profile'
- notifications_icon = notification_count.nil? ? 'bell-o' : 'bell' - notifications_icon = notification_count.nil? ? 'bell-o' : 'bell'
%nav.navbar.navbar-themed.bg-primary.fixed-bottom.d-lg-none.d-block#rs-mobile-nav{ role: :navigation } %nav.navbar.navbar-themed.bg-primary.fixed-bottom.d-lg-none.d-block.d-print-none#rs-mobile-nav{ role: :navigation }
.container{ class: ios_web_app? ? 'ios-web-app' : '' } .container{ class: ios_web_app? ? 'ios-web-app' : '' }
%ul.nav.navbar-nav.navbar-icon-row %ul.nav.navbar-nav.navbar-icon-row
= nav_entry t('views.navigation.timeline'), root_path, icon: 'home', icon_only: true = nav_entry t('views.navigation.timeline'), root_path, icon: 'home', icon_only: true