mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-10 16:09:07 -06:00
Fix horizontal scroll overflow due to header animation
The header is now moved up and outside of the body container, now allowing the header to take up a max of 100% of the viewport width. With overflow set to hidden, the animation will go outside the viewport but won't create a scrollbar anymore.
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
.stack {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
header {
|
||||
max-width: 100vw;
|
||||
.stack {
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.stack span {
|
||||
|
||||
Reference in New Issue
Block a user