@Panda said in Fixed background to nodebb forum:
Chatgpt told me the ::before method.
Go figure š
I was observing this in our forum for a very long time. Since nodebb community forum does not have night mode installed, I was not able to check there. However, if I click the night mode here, it looks like everything (including boxes, writings, bars, avatars, icons etc) is shifted a little bit upā¦ It is only several pixels I guess, but definitely I can feel a difference before/afterā¦
Do you observe this or am I hallucinating?
@crazycells Should be fixed now. Was being caused by some missing margins (left and right) and an odd border: none;
setting which should not have been there. If you alternate between the two now, it should look correct.
@crazycells no, youāre not hallucinating. Iāve noticed this myself and need to fix it. Iām suspecting rogue padding or margin somewhere.
@phenomlab good to hear that I am not aloneā¦
I do not know the reason for sure yet, but I will report here if I can find a clueā¦
@crazycells Should be fixed now. Was being caused by some missing margins (left and right) and an odd border: none;
setting which should not have been there. If you alternate between the two now, it should look correct.
@phenomlab yes, it is fixed. is this the code I should use?
body.lights-out {
border: none;
}
@crazycells You should actually remove the border: none;
@phenomlab said in is "night mode" shifting the forum several pixels up?:
@crazycells You should actually remove the
border: none;
how can I remove it?
Should I edit the plugin and install the modified one?
@crazycells hmm. Good point. I actually use my own version of the dark mode plugin, so not entirely sure. However, I think the CSS is probably the same. Iām not at my PC currently but can check and advise later.