diff --git a/app/packs/stylesheets/okbr/_nav.scss b/app/packs/stylesheets/okbr/_nav.scss index 6e559ae..db9ae54 100644 --- a/app/packs/stylesheets/okbr/_nav.scss +++ b/app/packs/stylesheets/okbr/_nav.scss @@ -1,7 +1,11 @@ #okbr-link { - margin: auto 1rem; + flex: 2 0 auto; + align-self: center; } +.org-logo { + flex: 2 0 auto; +} .navbar { background-color: white; color: black; @@ -61,6 +65,7 @@ } #okbr-link { margin: 1.2rem 0 0; + align-self: flex-start; } .okbr-search { @@ -75,3 +80,14 @@ border-right: 0px; } } + +@media all and (max-width: 820px) { + .topbar > div.logo-wrapper { + flex-direction: column; + } + + #okbr-link { + margin: 1.2rem 0 0; + align-self: flex-start; + } +} \ No newline at end of file diff --git a/app/views/layouts/decidim/_wrapper.html.erb b/app/views/layouts/decidim/_wrapper.html.erb index 1b3efb4..9a6c506 100644 --- a/app/views/layouts/decidim/_wrapper.html.erb +++ b/app/views/layouts/decidim/_wrapper.html.erb @@ -44,11 +44,14 @@ end <% end %>
- <%= render partial: "layouts/decidim/logo", locals: { organization: current_organization } %> + -
+
+ + <%= render partial: "layouts/decidim/topbar_search" %> <%= render partial: "layouts/decidim/language_chooser" %>