Making WordPress.org


Ignore:
Timestamp:
03/20/2024 10:24:49 PM (13 months ago)
Author:
coffee2code
Message:

Support: Improve responsiveness of search form and page title for various reply/topic listing pages in user profiles.

Props pranitdugad, pitamdey, coffee2code.
Fixes #7425.

File:
1 edited

Legend:

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

    r13362 r13366  
    831831
    832832    @media (max-width: 767px) {
    833 
    834         input[type="text"] {
    835             width: 100%;
    836         }
    837     }
     833        #bbp-user-body {
     834            div.bbp-search-form {
     835                float: none;
     836
     837                form {
     838                    margin-bottom: 1rem;
     839
     840                    input[type="text"] {
     841                        width: calc(100% - 75px);
     842                    }
     843
     844                    input[type="submit"] {
     845                        float: right;
     846                        height: 100%;
     847                        padding: 8px 14px;
     848                    }
     849                }
     850            }
     851
     852            h2.entry-title {
     853                clear: right;
     854            }
     855        }
     856    }
     857
     858    @media (max-width: 480px) {
     859        #bbp-user-body {
     860            div.bbp-search-form {
     861                form {
     862                    input[type="text"] {
     863                        width: calc(100% - 68px);
     864                    }
     865
     866                    input[type="submit"] {
     867                        padding: 5px 12px;
     868                    }
     869                }
     870            }
     871        }
     872    }
     873
    838874}
    839875
Note: See TracChangeset for help on using the changeset viewer.