this post was submitted on 04 Dec 2024
3 points (100.0% liked)

Firefox Customs

64 readers
2 users here now

Chat with us!

Post your unsupported Firefox customizations here!

From the makers of r/FirefoxCSS

Links

Related

Rules

  1. Posts must have flair!
  2. Posts cannot be memes/shitposts. They should be about Firefox customization with CSS.
  3. Please be civil. Bear in mind that many users come here for help and would be turned off by insults and rudeness.
  4. When posting large amount of code use a service dedicated to hosting text snippets, such as pastebin, hastebin, github gist or equivalent. Relatively short snippets can be wrapped in code-block for inline viewing.
  5. Do NOT use url-shorteners or link to compressed downloads (such as zip or rar) when sharing code.

founded 2 years ago
MODERATORS
 

In relation to my previous post, I tried to apply borders to the cropped to content bookmark bar with

#PlacesToolbarItems{
    border: 1px solid black;
    border-top: none;
}

But the border is spanning the whole window. How can I limit it to bookmark bar length as well?

top 2 comments
sorted by: hot top controversial new old
[โ€“] MrOtherGuy 2 points 1 month ago (1 children)

The code you posted should (and does) only add a border for the box - not the whole window width. Check that you don't have some other code the adds a border for the whole width.

[โ€“] subhasutra 1 points 1 month ago

You are right, it was the height adjustment I had to make for removing the line beneath toolbar, it was causing a blank space (not a border). Adjusting the height solved it. Thank you.