Skip to content

Commit

Permalink
I fixed the package card by centralizing the description and giving s…
Browse files Browse the repository at this point in the history
…pace above the tag.
  • Loading branch information
aline-borges committed Oct 30, 2020
1 parent f31cf05 commit f0fc87b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/app/components/header/header.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ a {
margin-right: 2.4rem;
cursor: pointer;
position: relative;
border-bottom: .3rem solid transparent;
padding-bottom: 0.3rem;
border-bottom: .34rem solid transparent;
padding-bottom: .3rem;

&:hover {
border-bottom-color: #fefefe;
Expand Down
16 changes: 9 additions & 7 deletions src/app/components/package/package.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -725,15 +725,13 @@ $black: #000000;
font-size: 1.4rem;
font-weight: 500;
margin: 0.5rem 2.5rem;
width: 40rem;

@include for-tablet-portrait-up {
width: 30rem;
}
width: fit-content;

@include for-phone-only {
margin: 0.5rem 0;
width: fit-content;
width: auto;
max-width: 20rem;
margin: auto;
text-align: center;
}
}

Expand Down Expand Up @@ -807,6 +805,10 @@ $black: #000000;
.specials-tags {
background: $red;
margin-bottom: 1.0rem;

@include for-phone-only {
margin-top: 1rem;
}
}

.old-price {
Expand Down

0 comments on commit f0fc87b

Please sign in to comment.