Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qwtel committed Sep 14, 2024
1 parent 401886f commit 0bc5bb6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions _sass/hydejack/_break-layout.pre.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,22 @@ pre, table:not(.highlight), .katex-display, .break-layout, mjx-container[jax="CH
}

@media screen and (min-width: $content-width) {
$x: ($content-width / 2) - $pad;
$x: null;
@if $gh-pages-compat {
$x: ($content-width / 2) - $pad;
} @else {
$x: calc(($content-width / 2) - $pad);
}
width: calc(100% + 50vw - #{$x});
}

@media screen and (min-width: $break-point-2) {
$x: ($content-width-2 / 2) - $pad;
$x: null;
@if $gh-pages-compat {
$x: ($content-width-2 / 2) - $pad;
} @else {
$x: calc(($content-width-2 / 2) - $pad);
}
width: calc(100% + 50vw - #{$x});
}

Expand Down

0 comments on commit 0bc5bb6

Please sign in to comment.