Making WordPress.org


Ignore:
Timestamp:
03/03/2022 10:29:10 PM (4 years ago)
Author:
coffee2code
Message:

Photo Directory: Improve display and responsiveness of checkboxes on submission form.

  • Prevent checkbox label from wrapping below the checkbox.
  • Restore margins around checkboxes in slimmer viewport widths.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-photos/css/components/_site.scss

    r11619 r11633  
    518518                margin-top: 0;
    519519        }
     520
     521        div {
     522                padding-left: 25px;
     523        }
     524
     525        input {
     526                margin-left: -25px;
     527        }
     528
     529        @include breakpoint( 0, 782px ) {
     530                div {
     531                        margin: 0.5rem 0;
     532                        padding-left: 35px;
     533                }
     534
     535                input {
     536                        margin-left: -35px;
     537                }
     538        }
    520539}
    521540
Note: See TracChangeset for help on using the changeset viewer.