Making WordPress.org

Opened 2 years ago

Closed 21 months ago

#7706 closed defect (bug) (reported-upstream)

Tours link lacks padding on smaller screens

Reported by: pkbhatt Owned by:
Priority: normal Milestone:
Component: Make (Get Involved) / P2 Keywords:
Cc:

Description

open meta home page https://make.wordpress.org/meta/
check the screen to 320px width
Tour word sticks to left side without any spaces.

Change History (2)

#1 @sabernhardt
2 years ago

  • Component GeneralMake (Get Involved) / P2
  • Milestone Q1
  • Summary No margin on left side in titleTours link lacks padding on smaller screens

Admin bar styles remove padding from links, including the Tours link, at smaller screen sizes.

@media screen and (max-width: 782px) {
  #wpadminbar .quicklinks .ab-empty-item, #wpadminbar .quicklinks > ul > li > a {
    padding: 0;
  }
}

The Login and Register links have special overrides on Make - Meta pages.

/* printed inline */
@media screen and (max-width: 782px) {
  #wpadminbar li#wp-admin-bar-log-in a, #wpadminbar li#wp-admin-bar-register a {
    padding: 0 8px;
  }
}
/* from https://make.wordpress.org/meta/wp-content/mu-plugins/pub-sync/blocks/global-header-footer/build/style.css?ver=1725916313 */
@media screen and (max-width: 782px) {
  #wpadminbar li#wp-admin-bar-log-in a, #wpadminbar li#wp-admin-bar-register a {
    padding-left: .5em;
    padding-right: .5em;
  }
}

The simplest fix might be adding to the Tour plugin styles (note the child combinator >).

@media screen and (max-width: 782px) {
  #wpadminbar li#wp-admin-bar-tour-list > a {
    padding: 0 8px;
  }
}

#2 @dd32
21 months ago

  • Resolutionreported-upstream
  • Status newclosed

It looks like the 'tours' functionality is an Automattic plugin: https://github.com/Automattic/tours/

I've reported this upstream in https://github.com/Automattic/tours/issues/58

Note: See TracTickets for help on using tickets.