Skip to content

Commit

Permalink
fix: mobile footer padding
Browse files Browse the repository at this point in the history
  • Loading branch information
douglastofoli committed Oct 24, 2024
1 parent a422825 commit 926e619
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ nav {

main {
grid-area: content;
margin-bottom: 100px;
/* margin-bottom: 100px; */
}

footer {
Expand Down
4 changes: 1 addition & 3 deletions assets/css/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,11 @@ footer {

@media (max-width: 767px) {
@apply relative;
padding: 2.5rem 1rem;

.blocks {
@apply flex flex-col;

bottom: 2.5rem;
gap: 1.5rem;
padding: 0 1rem 0 1rem;

.block {
@apply flex;
Expand Down
2 changes: 1 addition & 1 deletion lib/pescarte_web/design_system.ex
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ defmodule PescarteWeb.DesignSystem do
def footer(assigns) do
~H"""
<footer>
<img class="waves" src={~p"/images/footer/waves.svg"} />
<img class="hidden md:flex waves" src={~p"/images/footer/waves.svg"} />
<div class="blocks">
<div class="block">
<.text size="base" color="text-white-100" class="block-tag">
Expand Down

0 comments on commit 926e619

Please sign in to comment.