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">
<div class="container">
<div class="container mt-5">
<!-- Outer Row -->
<div class="row justify-content-center">
<div class="col-xl-10 col-lg-12 col-md-9">
<div class="mt-5">
<div class="d-flex justify-content-between">
<a href="/">
<h1 class="h1 text-light d-inline">BAPSicle</h1>
<h1 class="h1 text-light">BAPSicle</h1>
</a>
{% 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 %}">
Status
</a>
@ -49,6 +45,7 @@
Logs
</a>
</div>
</div>
{% endif %}
<div class="card o-hidden border-0 shadow-lg my-3">
{% block content %}
@ -56,7 +53,7 @@
<div class="card-body p-0">
<!-- Nested Row within Card Body -->
<div class="row">
<div class="col-lg-12">
<div class="col">
<div class="px-4 pt-5 pb-3">
<div class="text-center">
<h2 class="h3 text-gray-900">{{ data.ui_title }}</h2>
@ -77,11 +74,8 @@
{% endblock %}
</div>
</div>
</div>
</div>
</div>
</body>