WordPress.org

Making WordPress.org

Opened 7 weeks ago

Last modified 4 weeks ago

#5930 new defect

Align "Top ↑" links to the right

Reported by: juanmaguitar Owned by:
Milestone: Priority: normal
Component: Developer Hub Keywords:
Cc:

Description

Aligning these "Top ↑" links to the right will improve readability in documentation pages

https://d.pr/i/VrCH9s

The change would consist in just adding a "text-align: right;" to the ".toc-jump" class assigned to the paragraph containing these "top" links

.toc-jump {
    position: relative;
    height: 50px;
    text-align: right;
}

Change History (4)

#1 @joyously
7 weeks ago

Which documentation?
Is that documentation shown in RTL languages?

#2 @tobifjellner
7 weeks ago

  • Component changed from General to Developer Hub

So I searched for some text that was visible in the included gif.
On https://developer.wordpress.org/block-editor/handbook/faq/ the "Top" links are currently left-aligned.

It looks good in make/polyglots/handbook, so it's probably not the handbook, but something missing the theme used on the developer site (or even developer../block-editor/...)

#3 @juanmaguitar
7 weeks ago

Which documentation?
Is that documentation shown in RTL languages?

Sorry for not being more specific.
I've been checking the documentation pages under https://developer.wordpress.org/ and it seems that in most of these documentation pages this "Top" link is aligned to the right

The only "section" that has these "Top" links aligned to the left is the "Block editor" sectionhttps://developer.wordpress.org/block-editor/

So this change is only needed for documentation pages under https://developer.wordpress.org/block-editor/

This ticket was mentioned in Slack in #docs by juanmaguitar. View the logs.


4 weeks ago

Note: See TracTickets for help on using tickets.