Skip to content

Inflexible videos on article page? #146

@beep

Description

@beep

Hello! Just wanted to log a little thing I noticed on this (excellent) article:

img_20e432602e40-1

Videos aren’t currently flexible, which means they’re rendering at “full” width on smaller screens.

There are some automated solutions (e.g.) that could make videos resize proportionately, but a quick fix would be to toss this into the CSS:

.article-main iframe {
    max-width: 100%;
}```

Hope this helps!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions