wiki.manjaro.org

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
the_fisherman
New to the forum
New to the forum
Posts: 2
Joined: 2024-11-29, 20:30

wiki.manjaro.org

Unread post by the_fisherman » 2024-11-29, 21:02

The index on the left side and the actual content of the page overlap each other, apparently because the calculation of the "rootMargin" (see error message below) fails and the actual content does not get displayed further to the right.
The page displays correctly in Firefox, there i was able to display the following value for "rootMargin" in the Developer Tools: "-76px 0px -85% 0px"
I unfortunately could not find the value for "rootMargin" in the Pale Moon Developer Tools (any hints on how to do that would be appreciated, i'm not a web dev, sorry).
I did find a post of Moonchild referencing said "rootMargin" at: https://github.com/w3c/IntersectionObse ... 1107891910
Maybe Pale Moon doesn't like that one of the "subvalues" is a percentage and the other three are absolute pixels? (i don't know, just pure speculation)

Code: Select all

JQMIGRATE: Migrate is installed with logging active, version 3.3.2  
load.php:184:830
CITIZEN: --background-color-dp-XX is depreciated; use --color-surface-X instead.  
load.php:470:404
CITIZEN: Security headers will be depreciated in the next version.  
load.php:470:500
Exception in module-execute in module skins.citizen.scripts.toc:  
load.php:2:545
DOMException [SyntaxError: "rootMargin must be a valid absolute or percent length."
code: 12
nsresult: 0x8053000c
location: https://wiki.manjaro.org/load.php?lang=en&modules=ext.moderation.ajaxhook%2Cnotify%2Cve%7Cext.moderation.notify.desktop%7Cext.translate.pagetranslation.uls%7Cext.uls.common%2Ci18n%2Cinterface%2Clanguagenames%2Cmediawiki%2Cmessages%2Cpreferences%2Cwebfonts%7Cjquery%2Coojs%2Coojs-router%2Csite%7Cjquery.client%2Ccookie%2Ci18n%2CtextSelection%2Culs%7Cjquery.uls.data%2Cgrid%7Cmediawiki.String%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cstorage%2Cuser%2Cutil%7Cmediawiki.editfont.styles%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.ui.button%2Cicon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Cskins.citizen.scripts%7Cskins.citizen.scripts.sections%2Ctoc%7Cuser.defaults&skin=citizen&version=1vtkn:478]  
load.php:2:582
JQMIGRATE: jQuery.trim is deprecated; use String.prototype.trim  
load.php:185:520
Pale Moon 33.4.1 64-bit GTK3 Manjaro (same error occurs on Windows 11)

User avatar
adoxa
Lunatic
Lunatic
Posts: 311
Joined: 2019-03-16, 13:26
Location: Qld, Aus.
Contact:

Re: wiki.manjaro.org

Unread post by adoxa » 2024-11-30, 01:57

It's the lack of CSS max causing missing margins. Try this userstyle.

Code: Select all

@-moz-document domain("wiki.manjaro.org") {
  .skin-citizen-has-toc {
    margin-right: var(--margin-layout);
    margin-left: var(--width-toc)
  }
}

User avatar
the_fisherman
New to the forum
New to the forum
Posts: 2
Joined: 2024-11-29, 20:30

Re: wiki.manjaro.org

Unread post by the_fisherman » 2024-11-30, 02:47

That fixed it.
Thank you so much!

Post Reply