move shit around and change margins to reduce scrolling for mobile goomblers

pull/211/head
Aevann 2023-09-30 00:37:30 +03:00
parent ccf7a6d8a1
commit bf02418b8a
5 changed files with 14 additions and 10 deletions

View File

@ -13,7 +13,6 @@
#casinoGameResult { #casinoGameResult {
visibility: hidden; visibility: hidden;
margin-top: 1rem;
} }
#casinoGameFeedList { #casinoGameFeedList {
@ -177,3 +176,8 @@
font-weight: 700; font-weight: 700;
} }
} }
#casinoGameResult:empty {
margin: 0 !important;
padding: 0 !important;
}

View File

@ -12,18 +12,18 @@
<h3>{{game}}</h3> <h3>{{game}}</h3>
<hr> <hr>
</div> </div>
<div class="col">{% block screen %} {% endblock %}</div>
<div class="col">
<div id="casinoGameResult" class="alert">
{% block result %}{% endblock %}
</div>
</div>
<div class="col"> <div class="col">
{% set stats_alert_class = 'success' if v_stats[0] >= v_stats[2] else 'danger' %} {% set stats_alert_class = 'success' if v_stats[0] >= v_stats[2] else 'danger' %}
<div id="casinoGameStats" class="alert alert-{{stats_alert_class}}"> <div id="casinoGameStats" class="alert alert-{{stats_alert_class}}">
{{v_stats[0]}} win{{macros.plural(v_stats[0])}}{% if v_stats[1] %} - {{v_stats[1]}} tie{{macros.plural(v_stats[1])}}{% endif %} - {{v_stats[2]}} loss{{macros.plural(v_stats[2], 'es')}} {{v_stats[0]}} win{{macros.plural(v_stats[0])}}{% if v_stats[1] %} - {{v_stats[1]}} tie{{macros.plural(v_stats[1])}}{% endif %} - {{v_stats[2]}} loss{{macros.plural(v_stats[2], 'es')}}
</div> </div>
</div> </div>
<div class="col">
<div id="casinoGameResult" class="alert">
{%- block result -%}{%- endblock -%}
</div>
</div>
<div class="col">{% block screen %} {% endblock %}</div>
<div class="col"> <div class="col">
<div class="row row-cols-2"> <div class="row row-cols-2">
<div class="col game_screen-col"> <div class="col game_screen-col">

View File

@ -1,4 +1,4 @@
{% extends "casino/game_screen.html" %} {% block result %} N/A {% endblock %} {% extends "casino/game_screen.html" %} {% block result %}{% endblock %}
{% block script %} {% block script %}
<script defer src="{{'js/casino/roulette_screen.js' | asset}}"></script> <script defer src="{{'js/casino/roulette_screen.js' | asset}}"></script>

View File

@ -1,4 +1,4 @@
{% extends "casino/game_screen.html" %} {% block result %} N/A {% endblock %} {% extends "casino/game_screen.html" %} {% block result %}{% endblock %}
{% block script %} {% block script %}
<script defer src="{{'js/casino/slots_screen.js' | asset}}"></script> <script defer src="{{'js/casino/slots_screen.js' | asset}}"></script>

View File

@ -2,7 +2,7 @@
{% block pagetype %}lottery{% endblock %} {% block pagetype %}lottery{% endblock %}
{% block pagetitle %}Lottershe{% endblock %} {% block pagetitle %}Lottershe{% endblock %}
{% block content %} {% block content %}
<div style="margin-top: 5rem"> <div>
<div class="lottery-page--wrapper"> <div class="lottery-page--wrapper">
<div class="lottery-page--image"> <div class="lottery-page--image">
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/lottery.webp?x=6"> <img loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/lottery.webp?x=6">