On 10/02/2020 16:05, Ilmari Lauhakangas wrote:>
> The root problem is that we use a fixed header. This has always caused
> problems, for example when linking to mailing list anchors in
> https://www.libreoffice.org/get-help/mailing-lists/
> 
> There is a newish CSS property called scroll-padding. It relates to
> scroll snapping points. In this case it could be used to style the html
> element like
> 
> html {
>     scroll-padding-top: 40px;
> }
> 
> Or a similar value that produces the desired result.

Great, thanks Ilmari -- that has fixed the issue with anchors, eg:

https://www.libreoffice.org/community/get-involved/#design

I also updated:

#content1 {
  background: #ffffff;
  margin-top: 90px;
}

to be 120px in main.css, to accommodate for the larger top bar. It all
looks good now, but if anyone spots something odd, please let us know!

Cheers,
Mike

-- 
To unsubscribe e-mail to: [email protected]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/website/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to