Making WordPress.org


Ignore:
Timestamp:
03/23/2017 03:37:52 PM (9 years ago)
Author:
obenland
Message:

Plugin Directory: Add back compat with existing FAQ markup

Fixes a bug where existing FAQs were not toggle-able due to the missing button.

See #2296.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/sections/faq/style.scss

    r5166 r5167  
    1717        }
    1818
    19         .button-link {
     19        dt {
    2020                border-top: 1px solid $color__border;
    2121                cursor: pointer;
    2222                font-size: ms( 0 );
    2323                font-weight: 600;
    24                 margin-bottom: 1px;
    2524                padding: 1rem 0;
    26                 text-align: left;
    27                 width: 100%;
    2825
    2926                &:before {
     
    3431                }
    3532
    36                 &.no-focus {
     33                &.open:before {
     34                        content: "\f343";
     35                }
     36
     37                .button-link.no-focus {
    3738                        box-shadow: none;
    3839                        outline: none;
    39                 }
    40 
    41                 &.open:before {
    42                         content: "\f343";
    4340                }
    4441        }
Note: See TracChangeset for help on using the changeset viewer.