Skip to content

Commit

Permalink
🐛 Fix: table-wrapper and katex-display overflow-x error
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Nov 20, 2024
1 parent 35cc57e commit fd000ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions assets/css/_page/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@
}

.table-wrapper {
position: relative;
overflow-x: auto;
--#{$prefix}scrollbar-thumb-color: #{$table-background-color};

Expand Down Expand Up @@ -516,6 +517,12 @@
}
}

// Katex styles
.katex-display {
max-width: 100%;
overflow-x: auto;
}

@import '../_partials/_single/alert';
@import '../_partials/_single/code';
@import '../_shortcodes';
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/init/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- .Scratch.Set "version" "v0.3.16-453ed31d" -}}
{{- .Scratch.Set "version" "v0.3.16-35cc57e6" -}}
{{- .Scratch.Set "this" dict -}}

{{- partial "init/detection-env.html" . -}}
Expand Down

0 comments on commit fd000ad

Please sign in to comment.