ElkArte Community

Elk Development => Bug Reports => Topic started by: scripple on November 12, 2017, 01:57:21 am

Title: New Post Bar does bad things when new post is first on a page.
Post by: scripple on November 12, 2017, 01:57:21 am
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, 01:33:38 pm
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, 05:04:31 pm
That is one case, but also when the unread is the first on any later page.  So page 2,3, etc.