Paolo Amadini c8a8cce6ad Bug 1381427 - Result width should often be constrained by the width of the location bar. r=mak
This adds an end margin to the location bar search results that matches the end of the input field, unless doing this would be unbalanced with the start margin, in which case a symmetrical margin is chosen. This allows the location bar to be moved to the start of the navigation toolbar to reclaim space for results. This also handles gracefully other customization scenarios like having many icons on the right side of the location bar.

MozReview-Commit-ID: 9TwieL0lqHB

--HG--
extra : rebase_source : d838cbb12f5bffac321609fd8ea456be4328f59d
2017-10-21 15:17:08 +01:00
..