Skip to content
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

More wdn-hero updates #1003

Merged
merged 8 commits into from Jun 7, 2016
Merged

More wdn-hero updates #1003

merged 8 commits into from Jun 7, 2016

Conversation

skoolbus39
Copy link
Member

  • Changed video to display: block (Same issue as #04575910)
  • Added object-fit support for hero videos and images

FYI, I'll likely have more updates on the way.

Same issue as #04575910

display: block removes unwanted space below the video, visibile between 768–960px
A height declaration is needed to use object-fit on child elements.
Define explicit hero height for browsers that don't support object-fit in hopes of avoiding images or videos not filling the allotted vertical space.
@kabel kabel merged commit cbe7fdd into unl:develop Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants