make urlbarView-url row align nicely with the text of the first line

This commit is contained in:
MrOtherGuy 2021-04-28 20:02:09 +03:00
parent 99306dccfc
commit 4beb12d28e
2 changed files with 11 additions and 4 deletions

View file

@ -1,4 +1,3 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/combined_favicon_and_tab_close_button.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */

View file

@ -6,7 +6,15 @@ See the above repository for updates as well as full license text. */
.urlbarView-row-inner{ flex-wrap: wrap !important; }
.urlbarView-title[title]{ flex-grow: 1; }
.urlbarView-row > .urlbarView-row-inner > .urlbarView-url{ min-width: 95% }
.urlbarView-no-wrap {
max-width: 100% !important;
flex-basis: 100%;
}
.urlbarView-row[has-url]:not([type="switchtab"]) .urlbarView-title-separator{ display: none }
.urlbarView-row[has-url] > .urlbarView-row-inner > .urlbarView-url:-moz-locale-dir(ltr) {
padding-left: calc(var(--urlbarView-item-inline-padding) + var(--identity-box-margin-inline) + 16px);
}
.urlbarView-row[has-url] > .urlbarView-row-inner > .urlbarView-url:-moz-locale-dir(rtl) {
padding-right: calc(var(--urlbarView-item-inline-padding) + var(--identity-box-margin-inline) + 16px);
}