fix overflows scaling

This commit is contained in:
Reece Browne 2025-05-07 17:12:05 +01:00
parent eb854785e3
commit 2cf324413e
2 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,8 @@
#page-container { #page-container {
min-height: 100vh; height: 100vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow-x: clip;
} }
#content-wrap { #content-wrap {

View File

@ -7,9 +7,10 @@
</head> </head>
<body> <body>
<div id="page-container"> <div id="page-container">
<div id="content-wrap" style="overflow: hidden;"> <th:block th:insert="~{fragments/navbar.html :: navbar}"></th:block>
<th:block th:insert="~{fragments/navbar.html :: navbar}"></th:block> <div style="transform-origin: top;"
id="scale-wrap">
<br class="d-md-none"> <br class="d-md-none">
<!-- Features --> <!-- Features -->
<script th:src="@{'/js/homecard.js'}"></script> <script th:src="@{'/js/homecard.js'}"></script>
@ -17,8 +18,8 @@
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
transform-origin: top;" overflow-x: none;"
id="scale-wrap"> >
<div> <div>
<br> <br>
<div style="justify-content: center; display: flex;"> <div style="justify-content: center; display: flex;">