ElkArte Community

Elk Development => Bug Reports => Topic started by: scripple on November 11, 2017, 07:57:21 pm

Title: New Post Bar does bad things when new post is first on a page.
Post by: scripple on November 11, 2017, 07:57:21 pm
The "new::before" blocks does strange things when the new post is at the top of the display.  The margin-top:-1em drags the page index and reply and other buttons up super close to the link tree, maybe even partially overlapping depending on font-size. 

Here's the css.  Even though it's empty and hidden the margin-top still has an effect.
Code: [Select]
#new::before {
    display: block;
    visibility: hidden;
    margin-top: -1em;
    content: '';
}

This is in firefox on linux.  Haven't checked in other browsers.  Display:none remove the effect.
Title: Re: New Post Bar does bad things when new post is first on a page.
Post by: emanuele on November 12, 2017, 07:33:38 am
This is basically when the first message of a topic is the unread one, right?
Title: Re: New Post Bar does bad things when new post is first on a page.
Post by: scripple on November 12, 2017, 11:04:31 am
That is one case, but also when the unread is the first on any later page.  So page 2,3, etc.