Fixed layout shift
This commit is contained in:
@@ -7,6 +7,10 @@
|
|||||||
<link href="https://cdn.jsdelivr.net/npm/daisyui@4/dist/full.min.css" rel="stylesheet">
|
<link href="https://cdn.jsdelivr.net/npm/daisyui@4/dist/full.min.css" rel="stylesheet">
|
||||||
<script src="https://unpkg.com/htmx.org@2/dist/htmx.min.js"></script>
|
<script src="https://unpkg.com/htmx.org@2/dist/htmx.min.js"></script>
|
||||||
<style>
|
<style>
|
||||||
|
body {
|
||||||
|
width: 100vw;
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
#search-wrapper { position: relative; width: 100%; }
|
#search-wrapper { position: relative; width: 100%; }
|
||||||
#search-results { position: absolute; top: 100%; left: 0; right: 0; z-index: 50; }
|
#search-results { position: absolute; top: 100%; left: 0; right: 0; z-index: 50; }
|
||||||
main { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem; }
|
main { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem; }
|
||||||
|
|||||||
Reference in New Issue
Block a user