Opened 3 years ago

Closed 2 years ago

#5930 closed defect (bug) (fixed)

Align "Top ↑" links to the right

Reported by: juanmaguitar's profile juanmaguitar Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Developer Hub Keywords:


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

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 (5)

#1 @joyously
3 years ago

Which documentation?
Is that documentation shown in RTL languages?

#2 @tobifjellner
3 years ago

  • Component changed from General to Developer Hub

So I searched for some text that was visible in the included gif.
On 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
3 years ago

Which documentation?
Is that documentation shown in RTL languages?

Sorry for not being more specific.
I've been checking the documentation pages under 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" section

So this change is only needed for documentation pages under

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

3 years ago

#5 @coffee2code
2 years ago

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to closed

In 11532:

Handbooks, ToC: Output CSS before potentially bailing early due to handbook_display_toc filter.

Props juanmaguitar, tobifjellner, coffee2code.
Fixes #5930.

Note: See TracTickets for help on using tickets.