Skip to content

Commit

Permalink
fix for Chromium regression (broken overflow hidden/clip, CSS column …
Browse files Browse the repository at this point in the history
…pagination), see readium/readium-css#119
  • Loading branch information
danielweck committed Nov 16, 2022
1 parent c33dd54 commit b7f11fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/electron/common/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -718,8 +718,13 @@ no new stacking context, otherwise massive performance degradation with CSS Colu
}
:root[style].${CLASS_PAGINATED}:not(.${ROOT_CLASS_FIXED_LAYOUT}) > body,
:root.${CLASS_PAGINATED}:not(.${ROOT_CLASS_FIXED_LAYOUT}) > body {
/*
Electron v19 --> v23 breaking change :(
overflow-x: hidden !important;
overflow-y: visible !important;
*/
overflow-x: clip !important;
overflow-y: visible !important;
}
:root[style].${ROOT_CLASS_FIXED_LAYOUT},
Expand Down

0 comments on commit b7f11fb

Please sign in to comment.