-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
<audio> width not responsive #19634
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
Comments
Sorry, but the title doesn't say enough. Please post a JS Bin or JS Fiddle that demonstrates the problem. |
Ah, presumably you mean |
https://jsfiddle.net/juhe9xpj/2/ Yes, with controls, here a fast and simple, but yet shows my problem, if you just resize the Result-window in the width |
You
I suggest we set |
Probably it should be entirely opt-in, to avoid conflicts with other libraries (similar to how |
@cvrebert I agree that an If you decide against setting a default for |
evidence for this?
agree, would be far too opinionated otherwise. Once you start getting into the situation of wanting to make it as wide as possible, without breaking onto a new line, you really get into very specific styling which I'm not quite sure is a good candidate for generalising into a utility class, IMO |
@patrickhlauke I don't want it:
However, I repeat:
|
CC: @mdo |
New utils coming in #21221 to help. |
For those who wants to make <div>
<video ... />
</div> |
Title says its all. There is nothing doing anything with the audio-width.
My own fix is:
audio { width: 100%; }
The text was updated successfully, but these errors were encountered: