mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
yay, no clipping
This commit is contained in:
parent
a6b1aa843b
commit
b61f2c6431
2 changed files with 6 additions and 2 deletions
|
|
@ -38,6 +38,6 @@ fetchAndLogTextFile('./ascii-art.txt');
|
|||
|
||||
window.addEventListener("load", (e) => {
|
||||
document.querySelectorAll(".section").forEach(element => {
|
||||
element.style.minHeight = window.innerHeight + "px"
|
||||
element.style.minHeight = element.getBoundingClientRect().height + "px"
|
||||
})
|
||||
})
|
||||
|
|
@ -1,9 +1,13 @@
|
|||
.section {
|
||||
height: 100vh;
|
||||
height: fit-content;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.landing-section {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin: auto;
|
||||
padding: 0 20px;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue