[wp-trac] [WordPress Trac] #62255: Twenty Twenty: Latest Posts blocks have no link hover effects in entry content (was: Twenty Twenty : Latest Posts Block have no hover effects)

WordPress Trac noreply at wordpress.org
Tue Dec 31 19:23:44 UTC 2024


#62255: Twenty Twenty: Latest Posts blocks have no link hover effects in entry
content
-------------------------------------------------+-------------------------
 Reporter:  pitamdey                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Bundled Theme                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots needs-     |     Focuses:  css
  testing                                        |
-------------------------------------------------+-------------------------
Changes (by sabernhardt):

 * focuses:   => css


Comment:

 Related: [https://github.com/WordPress/twentytwenty/issues/442 Issue 442]
 / [https://github.com/WordPress/twentytwenty/pull/548 PR 548]

 The Latest Posts links have an underline on hover/focus when in a widget
 area, but the Entry Content styles are later in the stylesheet and
 override block styles within the post content.

 Using `!important` is too much, and I would prefer not to increase
 specificity either (as
 [https://github.com/WordPress/twentytwenty/pull/548/files#diff-
 b78be019f1dc6d57753ea900c3805b114cd53ab7c0db836cc081836df1b99b7aR3293-R3296
 PR 548 did for Latest Comments]). The link styles for Latest Posts and
 similar blocks could be moved after the Entry Content styles.

 I did not notice a difference when changing the editor stylesheets, so I
 did not include those in [attachment:"62255.1.patch"].

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62255#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list