This zone is sleeping right now! ZzzZZzzz

Better not disturb it! ~You go to the petrol station and buy a slushy instead, everything is cool!~

This area will open again in 000.beats!

(Learn about Swatch Time)

Some other zones are awake :^]


Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
Autumn, 30 Nov 2026 - @267.35
Forum Activity: Three Stars Random | Recent Posts | Guild Recents
News: :4u: ~~~~~~~~~~~ Guild Events: Melon Jam 2026
Super News: ++ MelonJam 2026 ~ 1st Dec to 1st Jan! ++
+  MelonLand Forum
|-+  Da Web Revival
| |-+  ☕︎ ∙ Everyone Site (edit this page)
| | |-+  Right margin offset on everyone pages


« previous next »
Pages: [1] Print Embed
Author Topic: Right margin offset on everyone pages  (Read 75 times)
SergioEduP
Casual Poster ⚓︎
*
View Profile WWW


NEVER GIVE UP YOUR WAAAAAAAAAAAAY
⛺︎ My Room
Itch.io: My Games

Guild Memberships:
Artifacts:
Default CubeA Gameboy With A Tetris CartridgeJoined 2024!
« on: Autumn, 27 Nov 2026 @515 » Embed

Currently the body element automatically gets a
Code
margin-right: var(--melon-nav-body-offset, 0px);
added to it which nicely handles the margin for the navigation bar to the right of the screen, but not for the "edit this page buttons" so sometimes content gets stuck behind them which is a bit annoying for text specifically, would be nice if for everyone pages it also handled that, mmaybe with
Code
margin-right: calc( var(--melon-nav-body-offset, 0px) + var(--melon-edit-this-page-body-offset, 0px) );
and then you define
Code
--melon-edit-this-page-body-offset
on those buttons with their width and the added margin of currently 5px.

Alternatively, to not possibly break already existing pages, we could just get that variable to add ourselves if we want to which could also be added to specific elements if we don't mind some going behind the buttons, and in case the buttons change size at some point our pages would still adapt to them :happy:

Logged

https://sergioedup.com/images/png/sep_badge.png
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Guide | Rules | Whos a Mod? | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
@000 Melon
Land
Forum Art Hub Chat Webring Explore Random Recent Tenement Arcade Want to Login or Join ? Web Craft Guide Graphic Catalogue Wiki Help I'm Lost! Link Land Newsletters Image Stream Minecraft: Online
Zap!
Passport Sites tamaNOTchi Asatte Add your site?
Aero Archive Onio Cafe 32 Bit Cafe Status Cafe