Flush search to right on smaller resolutions

Bug: T261686
Change-Id: I30985009c05e64bff5aaa240f7c3970475fe0fba
This commit is contained in:
jdlrobson 2020-08-31 12:37:29 -07:00
parent d4663ef0ec
commit bd8bfa8deb

View file

@ -31,8 +31,13 @@
#p-search { #p-search {
// Override values to reflect new behaviour. // Override values to reflect new behaviour.
min-width: @min-width-search; min-width: @min-width-search;
max-width: 100%;
margin: 0 0 0 @margin-horizontal-search;
#searchform {
margin-left: auto;
max-width: @max-width-search; max-width: @max-width-search;
margin: 0 @margin-horizontal-search; }
} }
// Support IE9: float will be disabled if display flex is supported // Support IE9: float will be disabled if display flex is supported
@ -44,6 +49,7 @@
#p-personal { #p-personal {
text-align: right; text-align: right;
flex-basis: @min-width-personal-tools; flex-basis: @min-width-personal-tools;
margin-left: @margin-horizontal-search;
// Support IE9: This is reset in @support query below if Flexbox is available. // Support IE9: This is reset in @support query below if Flexbox is available.
float: right; float: right;