fix: allow scroll refresh

This commit is contained in:
Teajey 2024-05-24 16:54:36 +12:00
parent 808d12c9ce
commit fb658e16fa
Signed by: Teajey
GPG Key ID: 970E790FE834A713
4 changed files with 6 additions and 13 deletions

View File

@ -11,13 +11,6 @@
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script> crossorigin="anonymous"></script>
<style>
html,
body {
overflow-y: hidden;
}
</style>
<script> <script>
function getSubmissionNames(form) { function getSubmissionNames(form) {
return Array.from(new FormData(form).keys()); return Array.from(new FormData(form).keys());

View File

@ -26,8 +26,8 @@
{{end}} {{end}}
{{define "body"}} {{define "body"}}
<div class="overflow-y-scroll"> <div class="overflow-y-scroll flex-grow-1">
<div class="container pt-5"> <div class="container py-5">
<section class="card"> <section class="card">
<div class="card-body"> <div class="card-body">
<h2>{{.Username}}'s list</h2> <h2>{{.Username}}'s list</h2>

View File

@ -22,8 +22,8 @@
{{end}} {{end}}
{{define "body"}} {{define "body"}}
<div class="overflow-y-scroll"> <div class="overflow-y-scroll flex-grow-1">
<div class="container pt-5"> <div class="container py-5">
<section class="card mb-4"> <section class="card mb-4">
<div class="card-body"> <div class="card-body">
<h2>Your wishlist</h2> <h2>Your wishlist</h2>