Closed GingerAdonis closed 4 years ago
After clicking on "Show modal" in the demo on Edge 16:
This is a simple CSS work-around that I came up with. I know it's far from perfect, but at least it's something.
//Workaround for Edge
dialog {
@supports (-ms-ime-align:auto) {
max-width: 400px;
}
}
fit-content as a keyword is not in standard so we have to find some standard way to style it.
Note: This section previously defined stretch and fit-content as keywords representing the stretch-fit size and fit-content size, respectively. These keywords have been deferred to Level 4 (along with an additional contain keyword that behaves similarly to stretch but preserves the intrinsic aspect ratio, if any) to better work out the implications in situations with indefinite available space.
The Level 4 document is nearly a sketch.
Dialog width is not properly set in MS Edge as fit-content isn't supported.
Is there a workaround available?