scrollable urlbar popup: make urlbar rows have position:relative
This lets the type icon be correctly aligned to the row when scrolling This patch also removes now useless namespace selectors
This commit is contained in:
@@ -4,10 +4,12 @@ See the above repository for updates as well as full license text. */
|
|||||||
/* Makes the urlbar dropdown scrollable */
|
/* Makes the urlbar dropdown scrollable */
|
||||||
/* Modify the pref browser.urlbar.maxRichResults to set how many results should be shown */
|
/* Modify the pref browser.urlbar.maxRichResults to set how many results should be shown */
|
||||||
|
|
||||||
/* This must NOT be loaded in xul namespace */
|
#urlbar-results{
|
||||||
/* Either load this file using @import or otherwise make sure that the namespace is correctly set */
|
max-height: 400px; /* Maximum height for the list, modify as needed */
|
||||||
|
overflow-y: auto;
|
||||||
@namespace html url("http://www.w3.org/1999/xhtml");
|
scrollbar-color: var(--urlbar-separator-color,currentColor) transparent;
|
||||||
|
scrollbar-width: thin
|
||||||
html|div#urlbarView-results,
|
}
|
||||||
html|div#urlbar-results{ max-height: 400px; overflow-y: auto; scrollbar-color: var(--urlbar-separator-color,currentColor) transparent; scrollbar-width: thin }
|
.urlbarView-no-wrap{
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user