Skip to content

Commit

Permalink
twinkle-pagestyles.css: expand comment (#1893)
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemLinguae authored Dec 15, 2023
1 parent 9cf74ef commit c91bd69
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions twinkle-pagestyles.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/**
* This is loaded as a hidden peer gadget of Twinkle.
* Before core Twinkle has loaded, it adds space where the TW would go in the
* Vector skin, so that the top bar does not "jump".
* Why is this a peer gadget? Because it will load before the page finishes its first paint.
* It adds whitespace where the "TW" menu goes in the Vector 2010 skin, basically reserving
* a spot for the "TW" menu so that the top bar does not "jump".
* The "TW" menu itself is painted later, after the gadget JS files finish loading.
*/
.client-js > body.skin-vector:not(.ns-special) #p-cactions,
.client-js > body.skin-vector.mw-special-Block #p-cactions,
Expand Down

0 comments on commit c91bd69

Please sign in to comment.