Hello!

As you can see in the image, the notification bar is quite tall. But I can't seem to make it any smaller.

The infobar.css file in the Firefox source code contains the following code:

:host(.infobar) {
  .container {
    /* Don't let lwthemes set a text-shadow. */
    text-shadow: none;
    padding-block: 3px;
    align-items: center;
  }
  .text-container {
    padding-block: calc(1lh - var(--icon-size) / 2);
  }
  .content {
    gap: 0 12px;
    height: fit-content;
  }
  .close {
    margin-block: 4px;
    margin-inline-start: 8px;
    align-self: flex-start;
  }
}

Despite this, I can't seem to reduce the paddings/margins to lower the height of this bar (regardless of its content: pop-up notification, DRM notification, etc.).

I'd also like to remove the icon (the "i" inside a circle, before the text "Firefox prevented...").

You can try out this type of bar by visiting this website, for example.

Thank you very much in advance for any help you can provide!

you are viewing a single comment's thread
view the rest of the comments
[–] 0 points 4 months ago (1 child)

Many site seem to be taking up tall, nearly blank bars across the top of their pages. (Which they are happy to make hard to filter with one or two or even 3 uBlock filters.)

They don't seem to realize that some of us need to zoom pages to make them more readable ... and that zoom makes the bar sizes grow as well ...

  • source
  • hideshow 1 child comment