Making WordPress.org

Opened 9 years ago

Closed 9 years ago

#1532 closed enhancement (fixed)

Add vertical scrollbar to html tag to avoid page jumps

Reported by: zodiac1978's profile zodiac1978 Owned by: ocean90's profile ocean90
Milestone: Priority: lowest
Component: General Keywords: has-patch
Cc:

Description

If you have a rosetta webpage which is not very long, maybe you have no vertical scrollbar.

Changing from long page to short page now leads to a "jumping" page (with or without the scrollbar).

Let's add a vertical scrollbar everytime (like in Twenty Fifteen):
https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentyfifteen/style.css#L79

Attachments (2)

1532.diff (306 bytes) - added by zodiac1978 9 years ago.
1532.2.diff (376 bytes) - added by zodiac1978 9 years ago.
Modification is now in sites/trunk/wordpress.org/public_html/style/wp4.css

Download all attachments as: .zip

Change History (10)

@zodiac1978
9 years ago

#1 @SergeyBiryukov
9 years ago

  • Keywords commit added

#2 follow-up: @ocean90
9 years ago

  • Keywords commit removed
  • Priority changed from normal to lowest

There are still browsers which don't add scrollbars as an overlay? :(

Why only for international sites?

#3 in reply to: ↑ 2 ; follow-up: @zodiac1978
9 years ago

Replying to ocean90:

There are still browsers which don't add scrollbars as an overlay? :(

I'm using the newest Firefox 43.0.4 and there is the problem showing.

Why only for international sites?

Don't know: One bug per ticket/component? ;)

Which sites should I check for this problem, too?

#4 in reply to: ↑ 3 ; follow-up: @ocean90
9 years ago

  • Component changed from International Sites (Rosetta) to General

Replying to zodiac1978:

Which sites should I check for this problem, too?

All? :)

I think the proper place for that would be sites/trunk/wordpress.org/public_html/style/wp4.css.

@zodiac1978
9 years ago

Modification is now in sites/trunk/wordpress.org/public_html/style/wp4.css

#5 in reply to: ↑ 4 @zodiac1978
9 years ago

Replying to ocean90:

Replying to zodiac1978:
I think the proper place for that would be sites/trunk/wordpress.org/public_html/style/wp4.css.

I've used the reset area in the beginning of the css file. Seems right for me. What do you think?

This ticket was mentioned in Slack in #meta by ocean90. View the logs.


9 years ago

#7 @ocean90
9 years ago

  • Keywords ui-feedback removed
  • Owner set to ocean90
  • Status changed from new to accepted

#8 @ocean90
9 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 2390:

wp4.css: Avoid "jumps" when navigating between short and long pages.

Props zodiac1978.
Fixes #1532.

Note: See TracTickets for help on using tickets.