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?

  • MrOtherGuy@lemmy.worldM
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    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@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      3 months 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.