Skip to content

Commit

Permalink
fix: Dialog got height 0 on webkit(safari)
Browse files Browse the repository at this point in the history
  • Loading branch information
soofstad authored and pbullhove committed Mar 8, 2024
1 parent f602af8 commit f102e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dm-core/src/components/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Dialog as EdsDialog } from '@equinor/eds-core-react'
import styled from 'styled-components'

export const Dialog = styled(EdsDialog)<{ width?: string; height?: string }>`
height: ${(props) => props.height || '100%'};
height: ${(props) => props.height};
overflow: auto;
width: ${(props) => props.width || '100%'};
display: flex;
Expand Down

0 comments on commit f102e85

Please sign in to comment.