Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
Umami demo
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Mar 2019 at 08:48 UTC
Updated:
4 Apr 2019 at 13:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
kjay commentedAnd here's a first patch for this work. Proposes placing the language switcher first in order in the pre-header region and keeps the search interface centred.
Does need small refinements if we go with this approach but we need reviews and discussion on the approach.
Here's some screenshots of the result:
Comment #3
markconroy commentedHi @kjay
This looks great. Just one tiny issue reported from the linting tool:
Can you add in that new line and I'll mark RTBC then.
Comment #4
shaalDid you check what will happen when we increase the width of the search input? (#3030936: Search placeholder text is longer than the search box)
Perhaps we should keep search as an icon for a wider breakpoint until it can fit in its full width?
Comment #5
shaalI tested it together with the (upcoming) patch of wider search box, it looks great.

Comment #6
kjay commentedThanks for the reviews. @markconroy, here's a patch for the missing new line at the end of language-switcher.css
@shaal, for the idea of moving the breakpoint for the search, if what we have is looking ok for MVP, I vote we go with this for now (minimal changes) but do follow up quickly with a language drop down as we're going to need that for users installing with a different language.
Comment #7
kjay commentedComment #8
markconroy commentedGreat work. Thanks @kjay
Comment #10
gábor hojtsyThanks, committed to 8.8. Leaving RTBC for merge to 8.7 once the freeze is lifted.
Comment #12
gábor hojtsyThanks all!