This commit is contained in:
Tiago Vasconcelos 2025-01-08 15:53:30 +00:00
parent 3900d2871d
commit 6831536a1f

View File

@ -3,6 +3,25 @@
{% from "macros.jinja" import window_vars with context %} {% from "macros.jinja" import window_vars with context %}
<!----> <!---->
{% block scripts %} {{ window_vars(user, wallet) }} {% block scripts %} {{ window_vars(user, wallet) }}
<style scoped>
@media (max-width: 1024px) {
/* Adjust the breakpoint if needed */
.mobile-simple,
.q-dark.mobile-simple {
background: none !important;
box-shadow: none !important;
margin: auto !important;
width: 90% !important;
}
.mobile-no-style,
.q-dark.mobile-no-style {
background: none !important;
background-color: 'none' !important;
box-shadow: none !important;
}
}
</style>
<script src="{{ static_url_for('static', 'js/wallet.js') }}"></script> <script src="{{ static_url_for('static', 'js/wallet.js') }}"></script>
{% endblock %} {% endblock %}
<!----> <!---->
@ -88,12 +107,10 @@
</div> </div>
</q-scroll-area> </q-scroll-area>
<q-card <q-card
:style="$q.screen.lt.md ? { :class="{
background: $q.screen.lt.md ? 'none !important': '' 'mobile-simple': $q.screen.lt.md && mobileSimple,
, boxShadow: $q.screen.lt.md ? 'none !important': '' 'mobile-no-style': $q.screen.lt.md && !mobileSimple
, margin: $q.screen.lt.md && mobileSimple ? 'auto !important': '' }"
, width: $q.screen.lt.md && mobileSimple ? '90% !important': ''
} : ''"
> >
<q-card-section> <q-card-section>
<h3 class="q-my-none text-no-wrap"> <h3 class="q-my-none text-no-wrap">