[wp-meta] [Making WordPress.org] #6648: Unnecessary horizontal scroller on the Mercantile login page

Making WordPress.org noreply at wordpress.org
Thu May 25 06:47:23 UTC 2023


#6648: Unnecessary horizontal scroller on the Mercantile login page
---------------------------------------------------+---------------------
 Reporter:  abidhasan112                           |       Owner:  (none)
     Type:  enhancement                            |      Status:  new
 Priority:  high                                   |   Milestone:
Component:  Swag Store (mercantile.wordpress.org)  |  Resolution:
 Keywords:  needs-patch                            |
---------------------------------------------------+---------------------

Comment (by sakibmd):

 In the below code, I change the **margin-left** value to **0** & it solves
 this issue.


 **Previous code**
 {{{
 #login h1 a, .login h1 a {
     background-image: none;
     color: var(--wp--preset--color--black);
     font-family: var(--wp--preset--font-family--garamond);
     font-size: var(--wp--preset--font-size--huge);
     font-weight: 300;
     line-height: var(--wp--custom--typography--line-height--tiny);
     height: auto;
     margin-bottom: var(--wp--preset--spacing--50);
     margin-left: 24px;
     margin-right: 24px;
     margin-top: 0;
     overflow: initial;
     text-align: left;
     text-indent: 0;
     width: 100%;
 }
 }}}

 After modifying the code (**margin-left**)

 **Changed Code**
 {{{
 #login h1 a, .login h1 a {
     background-image: none;
     color: var(--wp--preset--color--black);
     font-family: var(--wp--preset--font-family--garamond);
     font-size: var(--wp--preset--font-size--huge);
     font-weight: 300;
     line-height: var(--wp--custom--typography--line-height--tiny);
     height: auto;
     margin-bottom: var(--wp--preset--spacing--50);
     margin-left: 0;
     margin-right: 24px;
     margin-top: 0;
     overflow: initial;
     text-align: left;
     text-indent: 0;
     width: 100%;
 }
 }}}

 Now this is working perfectly from my side & there is no other unnecessary
 horizontal scrollbar here.

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


More information about the wp-meta mailing list