Merge "Flush search to right on smaller resolutions"

This commit is contained in:
jenkins-bot 2020-09-03 09:59:59 +00:00 committed by Gerrit Code Review
commit dd178231c1

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: @max-width-search; max-width: 100%;
margin: 0 @margin-horizontal-search; margin: 0 0 0 @margin-horizontal-search;
#searchform {
margin-left: auto;
max-width: @max-width-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;