[wp-meta] [Making WordPress.org] #7051: Padding tab of the single page of a plugin

Making WordPress.org noreply at wordpress.org
Sun Jun 11 20:21:21 UTC 2023


#7051: Padding tab of the single page of a plugin
------------------------------+--------------------
 Reporter:  Marc4             |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:
Component:  Plugin Directory  |   Keywords:
------------------------------+--------------------
 == What is the problem?

 When accessing an individual page of a plugin, if you hover your mouse
 over the active tab you will see that the page content is offset by 2px
 the page content below the tabs.

 == How to solve it?

 In styles that affect tabs, you must replace {{{border-bottom: 0;}}} for
 {{{border-bottom-color: transparent;}}} and remove {{{padding-bottom:
 2px;}}}

 This works correctly, without showing border below the active tab and the
 content will not be scrolled.

 If I'm not wrong it would be like this:

 {{{
 .type-plugin span#advanced.displayed ~ #section-links .tabs li#tablink-
 advanced,
 .type-plugin span#developers:target ~ #section-links .tabs li#tablink-
 developers,
 .type-plugin span#installation:target ~ #section-links .tabs li#tablink-
 installation,
 .type-plugin span#reviews:not(:target) ~ span#installation:not(:target) ~
 span#developers:not(:target) ~ span#advanced:not(.displayed) ~ #section-
 links .tabs li#tablink-description,
 .type-plugin span#reviews:target ~ #section-links .tabs li#tablink-reviews
 {
   background: #fff;
   border: 2px solid #eee;
   border-bottom-color: transparent;
 }
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7051>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list