Fix UI being 0 width on small window widths.

This commit is contained in:
Matthew Stratford 2021-08-17 23:05:43 +01:00
parent c2141c773d
commit 1261679402

View file

@ -24,18 +24,14 @@
<body class="bg-gradient-primary"> <body class="bg-gradient-primary">
<div class="container"> <div class="container mt-5">
<!-- Outer Row --> <div class="d-flex justify-content-between">
<div class="row justify-content-center">
<div class="col-xl-10 col-lg-12 col-md-9">
<div class="mt-5">
<a href="/"> <a href="/">
<h1 class="h1 text-light d-inline">BAPSicle</h1> <h1 class="h1 text-light">BAPSicle</h1>
</a> </a>
{% if data.ui_menu is undefined or data.ui_menu is true %} {% if data.ui_menu is undefined or data.ui_menu is true %}
<div class="d-inline float-right"> <div>
<a href="/status" class="btn btn-user btn-outline-light btn-primary ml-4 {% if data.ui_page == 'status' %}active{% endif %}"> <a href="/status" class="btn btn-user btn-outline-light btn-primary ml-4 {% if data.ui_page == 'status' %}active{% endif %}">
Status Status
</a> </a>
@ -49,6 +45,7 @@
Logs Logs
</a> </a>
</div> </div>
</div>
{% endif %} {% endif %}
<div class="card o-hidden border-0 shadow-lg my-3"> <div class="card o-hidden border-0 shadow-lg my-3">
{% block content %} {% block content %}
@ -56,7 +53,7 @@
<div class="card-body p-0"> <div class="card-body p-0">
<!-- Nested Row within Card Body --> <!-- Nested Row within Card Body -->
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col">
<div class="px-4 pt-5 pb-3"> <div class="px-4 pt-5 pb-3">
<div class="text-center"> <div class="text-center">
<h2 class="h3 text-gray-900">{{ data.ui_title }}</h2> <h2 class="h3 text-gray-900">{{ data.ui_title }}</h2>
@ -77,11 +74,8 @@
{% endblock %} {% endblock %}
</div> </div>
</div>
</div>
</div>
</div> </div>
</body> </body>