fix: quick fix layout

This commit is contained in:
2024-01-13 07:03:53 +01:00
parent 430dd53f77
commit 8258f57a09
2 changed files with 22 additions and 11 deletions

View File

@@ -27,6 +27,15 @@ table{
border-color: transparent; border-color: transparent;
} }
.user-settings{
display: inline-flex;
color: white;
}
.form-check{
margin-right: 15px;
}
.m-auto{ .m-auto{
margin: auto; margin: auto;
} }

View File

@@ -4,6 +4,7 @@
<body> <body>
{% include "upload-button.html" %} {% include "upload-button.html" %}
<div class="user-settings">
<div class="form-check form-switch"> <div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="show_tm_2020"> <input class="form-check-input" type="checkbox" role="switch" id="show_tm_2020">
<label class="form-check-label" for="show_tm_2020">Show All TM2020</label> <label class="form-check-label" for="show_tm_2020">Show All TM2020</label>
@@ -16,6 +17,7 @@
<input class="form-check-input" type="checkbox" role="switch" id="notifications_self"> <input class="form-check-input" type="checkbox" role="switch" id="notifications_self">
<label class="form-check-label" for="notifications_self">Send notifcations</label> <label class="form-check-label" for="notifications_self">Send notifcations</label>
</div> </div>
</div>
<script src="/static/user_settings.js" defer></script> <script src="/static/user_settings.js" defer></script>