Making WordPress.org


Ignore:
Timestamp:
04/12/2024 02:03:45 AM (2 years ago)
Author:
adamwood
Message:

wporg-support-2024: Improve topic actions layout

See https://github.com/WordPress/wordpress.org/issues/245
See #7572

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sass/site/_bbpress.scss

    r13501 r13503  
    6262
    6363                @extend .clear;
    64         }
    65 
    66         &.bbp-view-reviews #bbpress-forums .bbp-create-topic-wrapper .search-form {
    67                 width: 100%;
    6864        }
    6965
     
    451447                .bbp-create-topic-wrapper {
    452448                        display: flex;
    453                         flex-direction: column;
     449                        flex-wrap: wrap;
    454450                        gap: 10px;
    455451                        margin-bottom: var(--wp--style--block-gap);
    456                         text-align: center;
    457 
    458                         @media (min-width: 767px) {
    459                                 flex-direction: row;
    460                                 align-items: center;
    461                         }
    462452
    463453                        .create-topic {
    464 
    465                                 @extend .button-primary;
    466454                                // Match search field
    467455                                line-height: var(--wp--custom--button--typography--line-height);
    468456                                padding-inline: var(--wp--custom--form--padding--inline);
    469457                                padding-block: var(--wp--custom--form--padding--block);
    470                         }
    471 
    472                         @media (max-width: 767px) {
    473 
    474                                 .create-topic,
    475                                 .search-form,
    476                                 .search-field {
    477                                         width: 100%;
    478                                 }
    479458                        }
    480459                }
     
    665644        .favorite-toggle {
    666645
    667                 @extend .button;
     646                @extend .button-primary;
    668647        }
    669648
    670649        .wporg-bbp-term-subscription {
    671                 margin-bottom: 1rem;
     650                margin-bottom: var(--wp--style--block-gap);
    672651        }
    673652}
Note: See TracChangeset for help on using the changeset viewer.