[wp-meta] [Making WordPress.org] #4732: The 'Get WordPress' button is lost between 950px & 1015px wide

Making WordPress.org noreply at wordpress.org
Wed Sep 18 07:23:52 UTC 2019


#4732: The 'Get WordPress' button is lost between 950px & 1015px wide
-----------------------------+---------------------
 Reporter:  garrett-eclipse  |       Owner:  (none)
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:
Component:  General          |  Resolution:
 Keywords:  has-screenshots  |
-----------------------------+---------------------

Comment (by JarretC):

 Looks like there is actually 2 display:none being set in 2 different
 stylesheets causing it to not show

 https://s.w.org/style/wp4.css

 {{{
 @media screen and (max-width:820px) {
         #wporg-header ul li#download {
                 display: none;
         }
 }
 }}}

 https://wordpress.org/support/wp-content/themes/pub/wporg-
 support/sass/modules/_wporg-header.scss

 {{{
 &#download,
                 &.download {
                         float: right;
                         height: 34px;
                         margin-right: 14px;
                         overflow: hidden;
                         padding: 0 0 34px;

                         @include breakpoint( 0, 820px ) {
                                 display: none;
                         }

                         @include breakpoint( 0, $sm ) {
                                 display: block;
                                 float: none;
                                 margin: 10px 20px 20px;
                                 padding-bottom: 0;
                                 height: auto;

                                 a {
                                         padding: 4px 10px;
                                 }
                         }

                         a {
                                 margin: 0;
                                 padding: 0 16px;

                                 &:hover {
                                         color: #eee;
                                 }
                         }

                         &.current,
                         &.current-menu-item,
                         .uparrow {
                                 display: none;
                         }
                 }
 }}}

 If both are those are disabled in the Inspector the download button
 remains visible until it switches over into the mobile menu

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4732#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list