Making WordPress.org


Ignore:
Timestamp:
09/13/2023 11:30:08 PM (18 months ago)
Author:
adamwood
Message:

Learn: Sync with git WordPress/learn@4496525

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/css/components/_search-form.scss

    r12285 r12882  
    3131    &--is-inline {
    3232        .search-form {
     33            $label-position: 2rem;
     34
    3335            display: flex;
    3436            justify-content: space-between;
    35             margin-top: 0.5rem;
     37            margin-top: $label-position;
    3638            background: #fff;
    37 
    38             @media only screen and (max-width: $breakpoint-tablet) {
    39                 margin-top: 2rem;
    40             }
    4139
    4240            > label {
    4341                position: absolute;
    44                 transform: translateY(-2rem);
     42                transform: translateY(-1 * $label-position);
    4543            }
    4644
Note: See TracChangeset for help on using the changeset viewer.