Skip to content

Commit

Permalink
hotfix(footer): fix the panel at the bottom (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreybakanovsky authored Sep 22, 2023
1 parent 87375a5 commit 811ba5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ $primary-budgeting-kid-background-color: hsl(270, 95%, 98%);
}

.navbar-footer {
@extend .footer;
transition: opacity 0.8s ease;
border-top: 1px solid hsl(0, 0%, 90%);
position: sticky;
Expand Down
4 changes: 2 additions & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<p> Copyright © <%= Time.current.year %> <%= link_to("WideFix", "https://widefix.com/")%>. All rights reserved. </p>
</footer>

<footer class="navbar-footer is-flex-align-items-flex-end is-hide-for-desktop">
<nav class="navbar-footer is-fixed-bottom is-flex-align-items-flex-end is-hide-for-desktop">
<div class="columns is-mobile is-gapless">
<div class="column">
<%= button_to my_account_path, method: :get, class:'button is-footer-light is-fullwidth' do %>
Expand All @@ -99,7 +99,7 @@
<% end %>
</div>
</div>
</footer>
</nav>
</div>
</body>
</html>

0 comments on commit 811ba5d

Please sign in to comment.