Bookmark Toolbar is messed up again

User Help for Mozilla Firefox
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: Bookmark Toolbar is messed up again

Post by dickvl »

Something went wrong here (misplaced curly brackets):

Code: Select all

/* Add some spacing between rows */
{
#PlacesToolbarItems > .bookmark-item margin: var(--multirow-bmb-row-margin) 3px !important;
}
Should be:

Code: Select all

/* Add some spacing between rows */
#PlacesToolbarItems > .bookmark-item { margin: var(--multirow-bmb-row-margin) 3px !important; }
roninx
Posts: 106
Joined: May 25th, 2017, 3:07 pm

Re: Bookmark Toolbar is messed up again

Post by roninx »

jscher2000 wrote:Notepad doesn't understand "Unix-style" line breaks and sometimes runs lines together when copy/pasted from a website. You may want to use a different editor such as Notepad++, Atom, or VSCode.
I downloaded Notepad++, went back to github and got the code again, copy & paste into NP++, copy & paste from there to W3C CSS checker and got the same error results.
User avatar
jscher2000
Posts: 11762
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: Bookmark Toolbar is messed up again

Post by jscher2000 »

roninx wrote:I downloaded Notepad++, went back to github and got the code again, copy & paste into NP++, copy & paste from there to W3C CSS checker and got the same error results.
Well, I wasn't suggesting that userChrome.css rules would pass web standards validation, but that preserving the line breaks in the correct locations could help Firefox better apply the updated file. Any improvement on the bookmarks toolbar?
roninx
Posts: 106
Joined: May 25th, 2017, 3:07 pm

Re: Bookmark Toolbar is messed up again

Post by roninx »

It is actually working, but there still some errors when I run the checker. I was hoping to fix those errors, just to see what the difference would be, but maybe no one on here knows CSS well enough to help me.

Anyhow, thanks for the help.
User avatar
jscher2000
Posts: 11762
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: Bookmark Toolbar is messed up again

Post by jscher2000 »

roninx wrote:It is actually working, but there still some errors when I run the checker. I was hoping to fix those errors, just to see what the difference would be, but maybe no one on here knows CSS well enough to help me.
That tool is obsolete: it clearly isn't aware of CSS variables. (https://developer.mozilla.org/docs/Web/ ... properties)

If you want to a more up-to-date linter, here's one. Warning: it is insanely picky.

https://stylelint.io/demo
magasx
Posts: 9
Joined: August 19th, 2016, 3:25 am

Re: Bookmark Toolbar is messed up again

Post by magasx »

jscher2000 wrote:Did you put rules in a userChrome.css file to create a multi-line bookmarks toolbar? The old rules don't work properly in Firefox 74, they create a bookmarks toolbar that takes up the entire height of the browser.

Possible solution in the following thread:

https://www.reddit.com/r/firefox/commen ... _in_ff_74/

Any luck?
Worked for me after FF update. Thank you Sir. :)

I had old code and after i change it all multiple bookmarks back again in old position.
Post Reply