mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 08:25:06 +03:00
Fixed double scrollbar bug
Ref: https://github.com/TryGhost/Casper/issues/850 Portal has a bug that the scrollbars for the popup wrapper are always visible which results in double scrollbars for certian viewports. This commit hides the wrapper's scrollbars, so only the site scrollbars will be visible (if the content requires it).
This commit is contained in:
parent
c5154a43a7
commit
9425e5843e
@ -235,6 +235,12 @@ const FrameStyles = `
|
||||
height: 100%;
|
||||
max-height: 100vh;
|
||||
overflow: scroll;
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.gh-portal-popup-wrapper::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.gh-portal-popup-container {
|
||||
|
Loading…
Reference in New Issue
Block a user