Making WordPress.org

Opened 19 months ago

Last modified 19 months ago

#6614 new defect (bug)

https://wordpress.org/gutenberg/ page in top Register & Log In menu does not show in mobile and top design break.

Reported by: upadalavipul's profile upadalavipul Owned by:
Milestone: Priority: normal
Component: General Keywords:
Cc:

Description

I am just checking wordpress.org on mobile and I have found the top Register & Log In menus don't show on mobile and the top design breaks.
Please check the below Add video URL for a better understanding.

Video: https://share.cleanshot.com/6RZVHQyqPdkcUTrns23J

Change History (2)

#1 @dufresnesteven
19 months ago

This appears to be the combinations of 2 things:

  1. We don't use the global header footer which has code to show the admin bar on mobile and styles the dropdown:

https://github.com/WordPress/wporg-mu-plugins/blob/trunk/mu-plugins/blocks/global-header-footer/postcss/header/admin-bar.pcss

  1. These admin-bar styles being applied:
.admin-bar {
    position: inherit !important;
    top: auto !important;
}

We have a couple of choices to fix:

  1. Some throwaway admin-bar CSS styles added to the wporg-gutenberg theme.
  2. Load the global header styles but do not have the header show up (it does not have this functionality yet). This would be the preferred approach because the admin styles would match other parts of the site.

#2 @dufresnesteven
19 months ago

  1. Hide the admin bar completely on this page.
Note: See TracTickets for help on using tickets.