Skip to content

Commit

Permalink
BRS-604: New PR due to certain changes not added into last PR (#156)
Browse files Browse the repository at this point in the history
* BRS-604: Adjust A&R Footer, with signed commits

* Added media query to turn quick links into columns for mobile sizes

* Condense extra line

Co-authored-by: Wilson Wong <Wilson.1.Wong@gov.bc.ca>
  • Loading branch information
wilwong89 and wilwong89 authored Aug 8, 2022
1 parent 74792a8 commit a281793
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 16 deletions.
4 changes: 1 addition & 3 deletions src/app/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
<a href="https://reserve-admin.bcparks.ca/dayuse/">Day-Use Pass Admin</a>
</div>
<div class="col">
<a href="mailto:parkoperatorsystems@gov.bc.ca"
>Contact Us</a
>
<a href="mailto:parkoperatorsystems@gov.bc.ca">Contact Us</a>
</div>
</div>
</nav>
Expand Down
44 changes: 31 additions & 13 deletions src/app/footer/footer.component.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,38 @@
@import "/src/assets/themes/variables";

#footer {
background-color: $primary-nav;
height: 4.1rem;
position: relative;
@media only screen and (min-width: 769px) {
#footer {
background-color: $primary-nav;
height: 4.1rem;
position: relative;
}

.row {
max-width: 29rem;
margin: 0 auto;
position: absolute;
top: 50%;
right: 50%;
margin-right: -50%;
transform: translate(-5%, -50%);
white-space: nowrap;
}
}

.row {
max-width: 29rem;
margin: 0 auto;
position: absolute;
top: 50%;
right: 50%;
margin-right: -50%;
transform: translate(-5%, -50%);
white-space: nowrap;
@media only screen and (max-width: 768px) {
#footer {
background-color: $primary-nav;
height: 4.9rem;
position: relative;
}

.row {
display: flex;
flex-direction: column;
text-align: left;
margin-left: 12px;
margin-right: 12px;
}
}

a {
Expand Down

0 comments on commit a281793

Please sign in to comment.