Skip to content

Commit b3b255b

Browse files
app-rails: Update template-application-rails to version 0.4.1.post22.dev0+19479e3
1 parent c05e054 commit b3b255b

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v0.4.1-21-g4bdf8e6
2+
_commit: v0.4.1-22-g19479e3
33
_src_path: https://github.com/navapbc/template-application-rails
44
app_local_port: 3100
55
app_name: app-rails

app-rails/app/views/application/_header.html.erb

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="usa-overlay"></div>
22
<header class="usa-header usa-header--basic">
33
<div class="usa-nav-container">
4-
<div class="usa-navbar">
4+
<div class="usa-navbar flex-row gap-1">
55
<div class="usa-logo desktop:width-tablet">
66
<em class="usa-logo__text">
77
<a href="<%= url_for root_path %>">
@@ -10,6 +10,7 @@
1010
</em>
1111
</div>
1212

13+
<%= render partial: "application/language-toggle", locals: { container_class: "display-block desktop:display-none" } %>
1314
<button type="button" class="usa-menu-btn">Menu</button>
1415
</div>
1516

@@ -27,14 +28,10 @@
2728
<%= button_to t('header.logout'), destroy_user_session_path, method: :delete, class: "usa-nav-link" %>
2829
</li>
2930
<% end %>
30-
31-
<li class="usa-nav__primary-item">
32-
<%= render partial: "application/language-toggle", locals: { container_class: "display-block desktop:display-none relative" } %>
33-
</li>
3431
</ul>
3532
</div>
3633
</nav>
3734

38-
<%= render partial: "application/language-toggle", locals: { container_class: "usa-language-container display-none desktop:display-block" } %>
35+
<%= render partial: "application/language-toggle", locals: { container_class: "usa-language-container display-none desktop:display-block padding-bottom-1" } %>
3936
</div>
4037
</header>

app-rails/app/views/application/_language-toggle.html.erb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
url_for(locale: inactive_locale.to_s),
77
hreflang: inactive_locale,
88
rel: 'alternate',
9-
class: 'usa-button usa-button--outline padding-y-1 height-auto'
9+
class: 'usa-button usa-button--outline padding-y-1 height-auto margin-top-0',
10+
role: 'button'
1011
%>
11-
</div>
12+
</div>

0 commit comments

Comments
 (0)