I have a flyout has id "productFlyout". I tried to set its background color and width. It has red color but the width doesn't change. It seems that Metro doesn't allow width too big.
JS file:
productFlyout.winControl.show(dummyDOM, "bottom", "center");
CSS file:
#productFlyout {
background: red;
width: 1000px;
}
#productFlyout .win-flyout {
width: 1000px;
background: red;
}
There are limits for Flyout set by default. Do a quick search for ".win-flyout" in either ui-dark.css or ui-light.css and you'll see defaults for:
You can override those in your CSS, but keep in mind the guidance for Flyouts is to keep them as small as possible. See "Designing a Flyout" in this article:
"Guidelines & checklist for Flyouts"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With