fix /sidebar page not visible on mobile

master
Aevann1 2022-07-04 05:48:02 +02:00
parent 1136683a14
commit 037d41f5d5
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
<div class="col sidebar text-left {% if request.path != '/sidebar' %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content">
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content">
{% if sub %}
{% set image=sub.sidebar_url %}

View File

@ -1,4 +1,4 @@
<div class="col sidebar text-left {% if request.path != '/sidebar' %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content">
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content">
{% if sub %}
{% set image=sub.sidebar_url %}

View File

@ -1,4 +1,4 @@
<div class="col sidebar text-left {% if request.path != '/sidebar' %}d-none d-lg-block{% endif %} pt-3 bg-white" style="max-width:300px">
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 bg-white" style="max-width:300px">
<p class="text-center text-md mb-4">
{% if v and v.can_gamble and LOTTERY_ENABLED -%}

View File

@ -1,4 +1,4 @@
<div class="col sidebar text-left {% if request.path != '/sidebar' %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content">
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content">
{% if sub %}
{% set image=sub.sidebar_url %}

View File

@ -21,7 +21,7 @@ set VISITORS_HERE_FLAVOR = [
' throwing shade right now',
]
-%}
<div class="col sidebar text-left {% if request.path != '/sidebar' %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content">
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content">
{% if sub %}
{% set image=sub.sidebar_url %}