On 28.7.2020 14.03, Mike Saunders wrote:
A search box was recently added to the main LibreOffice website,
https://www.libreoffice.org - and since then, the menus appear to be a
bit misaligned:
https://i.imgur.com/fQkqn37.png
Also note how for "Discover", the black box starts almost exactly at the
first letter, whereas for other menu headings, there's some padding on
the left. Anyone got any ideas about this?
A bit of a tricky question lacking details.
Who added the search box in there?
Where can we see a diff of the changes in HTML and CSS?
What is the reasoning behind the CSS changes?
Not having anything better to work with, I can see the previous state
using Wayback Machine:
https://web.archive.org/web/20200709173845/https://www.libreoffice.org/
In main.css, this is a new rule responsible for the discrepancy we see
for "Discover" vs. the others:
ul.navbar-right > li:first-child > a {
padding-left: 0;
}
Also, the padding property for .navbar .nav > li > a was changed from
35px 16px to 35px 12px.
I don't understand what you mean exactly by "the menus appear to be a
bit misaligned". The only change I see is for "Discover" and the thinner
left-right padding for all top level items.
Ilmari
--
To unsubscribe e-mail to: website+unsubscr...@global.libreoffice.org
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