Skip to content

Commit

Permalink
fix: overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Oct 16, 2024
1 parent 9b97a23 commit 14ca869
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .vitepress/theme/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
display: block;
top: 0;
bottom: 0;
width: 100lvw;
z-index: -1;
left: -24px;
left: -9999rem;
right: -9999rem;
background: var(--sw-c-gray-100);
.dark & {
background: var(--sw-c-gray-dark-700);
Expand All @@ -22,21 +22,6 @@
}
}

@media (min-width: 768px) {
.SwagLandingCardListWrapper,
.c-link-line {
&::before {
left: -32px;
}
}
}

/* 1024 + 32 + 32 */
@media (min-width: 1088px) {
.SwagLandingCardListWrapper,
.c-link-line {
&::before {
left: calc((100lvw - 1024px) / -2);
}
}
.VPDoc {
overflow: hidden;
}

0 comments on commit 14ca869

Please sign in to comment.