Skip to content

Commit

Permalink
fix(modal): prevent wrong dialog height on safari
Browse files Browse the repository at this point in the history
  • Loading branch information
dpellier committed Nov 21, 2024
1 parent acb12a1 commit 150df6e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ods/src/components/modal/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</head>

<body>
<!-- <ods-button id="button-1" label="Modal 1" icon="face-wink"></ods-button>-->
<!-- <ods-button id="button-1" label="Modal 1"></ods-button>-->
<!-- <ods-button id="button-2" label="Modal 2" icon="shield" variant="outline"></ods-button>-->
<!-- <ods-button id="button-3" label="Modal 3" icon="globe" color="critical"></ods-button>-->
<!-- <ods-button id="button-4" label="Modal 4" icon="star" color="critical" variant="outline"></ods-button>-->
Expand Down
2 changes: 0 additions & 2 deletions packages/ods/src/style/_modal.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
$ods-modal-border-radius: var(--ods-border-radius-sm);
$ods-modal-header-height: 32px;


@mixin animation-mixin($name) {
@keyframes modal-open {
0% {
Expand Down Expand Up @@ -140,7 +139,6 @@ $ods-modal-header-height: 32px;
flex-direction: column;
padding: 24px;
width: 100%;
height: calc(100% - $ods-modal-header-height);
overflow-y: auto;
}

Expand Down

0 comments on commit 150df6e

Please sign in to comment.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy