Dialog fit-content Not Working with Edge

Using Aurelia Dialog 2.0.0, the ux-dialog has fit-content for height and width, which works well in Chrome and Firefox but Edge does not like it. Is there a fix?

1 Like

Upgrade edge to latest chromium based edge.

1 Like

How do we force all the users to do that?

1 Like

We dont :smile: . If fit-content doesn’t work, then you probably need to resolve to flex basic 0?

Flex basis 0 on ux-dialog? In Edge it uses width 100%. Can’t seem to override it.

1 Like

I ended up overriding ux-dialog styling with:

display: flex;
flex-direction: column;
width:  ???px;
height ???px;   (not always)

Sadly, can’t fit-content anymore on my dialogs until Edge (Chrome) is widely used.

1 Like