Skip to content

Commit

Permalink
BZ-34765: fix: expose some css variables in modal
Browse files Browse the repository at this point in the history
- adding display, overflow-y and scrollbar-width to exposed variables
  • Loading branch information
SachinSharma-Juspay authored and murdore committed Sep 18, 2024
1 parent 75cddf9 commit 07bc119
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/Modal/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
let backPressed = false;
export let properties: ModalProperties = defaultModalProperties;
const debounce = createDebouncer(properties.debounceTime);
function handlePopstate() {
Expand Down Expand Up @@ -146,9 +146,9 @@
}
.slot-content {
display: flex;
overflow-y: scroll;
scrollbar-width: none;
display: var(--modal-display, flex);
overflow-y: var(--modal-overflow-y, scroll);
scrollbar-width: var(--modal-scrollbar-width, none);
}
.slot-content::-webkit-scrollbar {
Expand Down

0 comments on commit 07bc119

Please sign in to comment.