firefox-csshacks
firefox-csshacks copied to clipboard
Can not add a new bookmark page
When I tried to add a new page, it is not displayed. It is actually added but it is not visible. Please help.
Umm, what is the context here? Some of the stylesheets causing trouble, but where exactly.
Actually, I think I remember experiencing multi-row-bookmarks causing weirdness where when new bookmarks where being added to the bookmarks toolbar, they wouldn't appear until window size mode (maximized,normal) was being changed. But I have not been able to reproduce that since.
I suppose you could add #PlacesToolbarItems > .bookmark-item{ visibility: visible !important; } if you happen to be experiencing that very same thing though.
Thanks for your suggestion but it does not work.
Basically, if I place the new bookmark at the end, it disappear. If I put it in between the bookmarks which are already on the toolbar, it will push the last bookmark into invisible mode. I hope this clarify the problem for you. Need your magic wand again :)
So, I take it this is related to multi-row-bookmarks?
But unfortunately I can't really help you, because like I said - I am not able to reproduce this and I only saw this happen once a long time ago. And if visibility:visible doesn't fix it then I have no idea what could potentially be hiding the last item.
I am using the code you provided for the userChrome.css file. Below is what I have in that file.
/* Makes bookmarks toolbar span multiple rows */
#PersonalToolbar{ --multirow-bmb-n-rows: 3; /* Control how many rows are shown before scrolling / --multirow-bmb-row-margin: 0px; / Control how much spacing is between rows */ max-height: none !important; }
#PlacesToolbar > hbox{ display: block; width: 100vw; }
#PlacesToolbarItems{ display: flex; flex-wrap: wrap; /* --uc-bm-padding is defined in autohide_bookmarks_toolbar.css */ max-height: calc(var(--multirow-bmb-n-rows) * (5px + 1em + (2 * (var(--multirow-bmb-row-margin) + var(--uc-bm-padding,0px))))) !important; overflow-y:auto; scrollbar-color: var(--lwt-accent-color) var(--toolbar-bgcolor) ; scrollbar-width: thin; }
/* No text in the bookmark bar */ .bookmark-item > label{display: none !important;}
/* Adjust the space between icons */ .bookmark-item{ margin-left: 0px !important; margin-right: 0px !important; padding-right: 2px !important; padding-left: 2px !important; }
So, not exactly the code from my repository as you seem to have some additions. But nonetheless, I cannot reproduce the problem you describe in either Firefox 74, 75 or 76 so I have absolutely no idea what the problem could be on your setup.
I suppose it could be something OS dependent (I tested Win10) but honestly that doesn't sound very plausible to me.
Thanks for your work. I may create a new profile to see if it can solve the problem.