Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#55141 closed defect (bug) (fixed)

Twenty Seventeen: Remove linked transparent image border

Reported by: mikachan Owned by: SergeyBiryukov
Priority: normal Milestone: 6.0
Component: Bundled Theme Version:
Severity: minor Keywords: has-patch
Cc: Focuses: css

Description

There is a small bug in the Twenty Seventeen theme, where linked images show a bottom border / box-shadow.

This was previously fixed in the themes repo, so this ticket is for replicating the fix in Core.

Original issue: ​https://github.com/Automattic/themes/issues/5018

Attachments (2)

55141.patch​ (83.2 KB ) - added by nidhidhandhukiya 5 years ago.
I have solution for this issue.
55141.2.patch​ (621 bytes ) - added by sabernhardt 5 years ago.
removing box shadow from linked images, including within widget areas

Download all attachments as: .zip

Change History (10)

This ticket was mentioned in ​PR #2304 on ​WordPress/wordpress-develop by ​mikachan.


5 years ago
#1

This fixes a small bug in the Twenty Seventeen theme, where transparent linked images were showing a bottom border incorrectly (via a box-shadow).

This has previously been fixed over in the themes repo, so this PR replicates the fix in Core.

Original themes issue: ​https://github.com/Automattic/themes/issues/5018

Trac ticket: https://core.trac.wordpress.org/ticket/55141

@nidhidhandhukiya
5 years ago

I have solution for this issue.

#2 @sabernhardt
5 years ago

  • Component Themes → Bundled Theme

#3 @mukesh27
5 years ago

  • Keywords commit added

Hi there!

Thanks for the ticket and PR.

PR looks good to me and ready to marge.

@nidhidhandhukiya style.css generate run time so you have to add CSS in SCSS then create the patch.

Ping @SergeyBiryukov for review it.

#4 @sabernhardt
5 years ago

  • Keywords commit removed
  • Milestone Awaiting Review → 6.0

Let's fix this for image blocks in (footer) widget areas, too.

@sabernhardt
5 years ago

removing box shadow from linked images, including within widget areas

#5 @sabernhardt
5 years ago

For consistency, 55141.2.patch​ has the WebKit prefix as well.

#6 @SergeyBiryukov
5 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 52740:

Twenty Seventeen: Remove bottom border (box-shadow) from linked images.

Props mikachan, sabernhardt, nidhidhandhukiya, mukesh27, scruffian.
Fixes #55141.

Note: See TracTickets for help on using tickets.