Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
fix(footer): increase links font size and paddings in footer on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
VChet committed Nov 22, 2020
1 parent 0438e9c commit 2b7302c
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions src/src/components/AppFooter.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
<template>
<footer>
<div class="container">
<ul class="link-list">
<li>
<a href="mailto:feedback@stylebase.cc" rel="noopener">Contact Us</a>
</li>
<li>
<button class="link" type="button" @click="$emit('open-nav-link', 'showPrivacyModal')">Privacy Policy</button>
</li>
<li>
<a href="https://github.com/VChet/StyleBase" rel="noopener" target="_blank">Code on GitHub</a>
</li>
</ul>
</div>
</footer>
</template>
Expand All @@ -22,12 +30,22 @@ footer {
.container {
padding-top: 0.25rem;
padding-bottom: 0.25rem;
text-align: right;
}
button,
a:not(:last-child) {
margin-right: 1rem;
.link-list {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 0.75rem 1rem;
margin: 0;
list-style-type: none;
@include media-size-mobile {
flex-flow: column nowrap;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
font-size: 16px;
}
}
}
</style>

0 comments on commit 2b7302c

Please sign in to comment.