-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Destyle dialog ? #24
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
In this video, Theo Browne mentions the user agent stylesheet for
dialog:modal
, and more specifically themax-width
andmax-height
properties :Which are mentioned in spec here :
In his case, it prevented the following from working :
And therefore had to add the following :
I think it would be a great default for destyle to fix this, I suppose the following would be more appropriate (although for the same result) :
And maybe you'll want to destyle it all the way ? Here's now it currently looks with destyle (Demo on JSFiddle, using the MDN example, bold on number is normal because using
<strong>
, screenshot from Chromium-based browser but Firefox looking the same) :Thanks
The text was updated successfully, but these errors were encountered: