Making WordPress.org


Ignore:
Timestamp:
01/03/2017 03:31:17 AM (10 years ago)
Author:
dd32
Message:

Plugin Directory: Better alignment for the search button on non-home views.

Props iCaleb.
Fixes #2307.

File:
1 edited

Legend:

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

    r4223 r4606  
    1919
    2020        .button-search {
     21                border-top: none;
    2122                border-left: none;
    2223                border-radius: 0 2px 2px 0;
    … …  
    2526                right: auto;
    2627                top: auto;
     28                vertical-align: top;
    2729
    2830                &:active {
    … …  
    7476                .search-field {
    7577                        border: 0;
    76                         border-radius: 2px;
     78                        border-radius: 2px 0 0 2px;
    7779                        display: inline-block;
    7880                        font-size: ms( 0 );
    7981                        padding: 5px 10px;
    8082                        position: relative;
    81                         width: 100%;
     83                        width: auto;
    8284                }
    8385
    8486                @media screen and (min-width: $ms-breakpoint) {
    8587                        .search-field {
    86                                 border-radius: 2px 0 0 2px;
    8788                                font-size: ms( -4 );
    8889                                width: 7rem;
Note: See TracChangeset for help on using the changeset viewer.