ElkArte Community

Elk Development => Theme development => Topic started by: ahrasis on October 21, 2014, 01:43:04 am

Title: Some weirdo in admin page on smaller screen display?
Post by: ahrasis on October 21, 2014, 01:43:04 am
It is on besocial variant and not on light (as it is fine light version) where there is some weirdo in admin page on smaller screen display. Basically the gap between the wrapper and top section is gone missing or something.

I think it is a css issue but I still couldn't find the culprit. I will try to find it but if anybody comes to its solution first, do post your fix.

Title: Re: Some weirdo in admin page on smaller screen display?
Post by: emanuele on October 24, 2014, 05:09:21 am
I think that in one of the two was removed to make it look better.
Title: Re: Some weirdo in admin page on smaller screen display?
Post by: ahrasis on October 30, 2014, 10:01:50 pm
And the one that was removed is the top padding for body via admin css file when viewed in smaller screen. Either removed the code for body zero padding in that file:
Code: [Select]
	body {
padding: 0;
}

Or add to the admin custom variant file:
Code: [Select]
/* Fix top padding in admin page */
@media screen and (max-width: 33.750em) {
body {
padding-top: 35px;
}
}

I think it would be better that the top padding is not turned off by default. It makes it look like a css bug. ;)