Making WordPress.org

Opened 5 years ago

Last modified 10 days ago

#6244 reopened defect (bug)

In WPTV Category page video group layout should be full width in mobile

Reported by: multidots1896 Owned by:
Priority: normal Milestone:
Component: WordPress.tv Keywords: has-patch has-screenshots
Cc:

Description

In WPTV Category page video group layout should be full width in mobile below media screen 415px.
Url:
​https://wordpress.tv/category/how-to/

Attachments (4)

wptv-screenshot.png​ (571.1 KB ) - added by multidots1896 5 years ago.
added screenshot
6244.patch​ (700 bytes ) - added by multidots1896 5 years ago.
added patch
howto-videos-414px.png​ (227.8 KB ) - added by sabernhardt 10 days ago.
secondary videos in one narrow column, at 414 pixels wide
howto-videos-415px.png​ (262.2 KB ) - added by sabernhardt 10 days ago.
secondary video thumbnail images next to their text, at 415 pixels wide

Download all attachments as: .zip

Change History (10)

@multidots1896
5 years ago

added screenshot

@multidots1896
5 years ago

added patch

#1 @dd32
4 years ago

#6279 was marked as a duplicate.

This ticket was mentioned in ​PR #316 on ​WordPress/wordpress.org by ​@sabernhardt.


2 years ago
#2

  • Removes max-width from the list item.
  • Sets the thumbnail image to 100% width and auto height to start (without a media query).
  • Moves the image's exact dimensions inside the min-width: 415px media query.

https://meta.trac.wordpress.org/ticket/6244

#3 @sabernhardt
2 years ago

6244.patch​ could work for visitors whose screens are less than 415 pixels wide, though the design would break at exactly 415 pixels. I think the max-width can be removed, and the image could have 100% width for the base style but exact dimensions starting at the 415px breakpoint. I made a pull request to try that approach.

#4 @timse201
10 days ago

  • Resolution → fixed
  • Status new → closed

The design has changed. There are now 2 columns on small screens. Is it OK to close it?

@sabernhardt
10 days ago

secondary videos in one narrow column, at 414 pixels wide

@sabernhardt
10 days ago

secondary video thumbnail images next to their text, at 415 pixels wide

#5 @sabernhardt
10 days ago

  • Resolution fixed → worksforme

When the screen is narrower than 415 pixels, items in the .secondary-videos section are still in one column that is only 130 pixels wide. This is not ideal, but stretching the thumbnail images to the same width as the main video could give them too much prominence.

Note: Decreasing the CSS breakpoint from 415px to 320px could be a simpler option.

Last edited 10 days ago by sabernhardt (previous) (diff)

#6 @timse201
10 days ago

  • Resolution worksforme
  • Status closed → reopened
Note: See TracTickets for help on using tickets.