Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Commit

Permalink
v1.78.0: Fix OrderCard Styling for yourFavourites Experiment (#261)
Browse files Browse the repository at this point in the history
* v1.78.0: Fix OrderCard Styling for yourFavourites Experiment

* v1.78.0 - whitespace
  • Loading branch information
InsungMulumba authored Dec 10, 2019
1 parent e8051a1 commit e9e7d45
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)

v1.78.0
------------------------------
*December 9, 2019*

### Changed
- Fix OrderCard styling forYour Favourites Experiment

v1.77.0
------------------------------
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@justeat/fozzie",
"title": "Fozzie – Just Eat UI Web Framework",
"description": "UI Web Framework for the Just Eat Global Platform",
"version": "1.77.0",
"version": "1.78.0",
"main": "dist/js/index.js",
"files": [
"dist/js",
Expand Down
24 changes: 12 additions & 12 deletions src/scss/components/optional/_order-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ $previousOrder-hoverBoxShadow: 0 2px 8px 0 rgba(0, 0, 0, 0.16), -2px -2px 4px 0
text-decoration: none;
color: $grey--mid;
}
}

.c-orderCard-yourFavourites {
min-height: 200px;
.c-orderCard-yourFavourites {
min-height: 200px;

@include media('>=mid') {
min-height: 240px;
}
@include media('>=mid') {
min-height: 240px;
}
}

Expand Down Expand Up @@ -82,10 +82,6 @@ $previousOrder-hoverBoxShadow: 0 2px 8px 0 rgba(0, 0, 0, 0.16), -2px -2px 4px 0
width: 100%;
}

.c-orderCard-yourFavourites {
height: auto;
}

&:after {
content: '';
width: 100%;
Expand All @@ -98,6 +94,10 @@ $previousOrder-hoverBoxShadow: 0 2px 8px 0 rgba(0, 0, 0, 0.16), -2px -2px 4px 0
}
}

.c-orderCard-yourFavourites-cuisineBanner {
height: auto;
}

.c-orderCard-iconContainer {
width: 64px;
height: 64px;
Expand Down Expand Up @@ -163,10 +163,10 @@ $previousOrder-hoverBoxShadow: 0 2px 8px 0 rgba(0, 0, 0, 0.16), -2px -2px 4px 0
flex: 1 0 auto;
display: flex;
flex-direction: column;
}

.c-orderCard-yourFavourites {
padding: spacing() spacing(x2);
}
.c-orderCard-yourFavourites-content {
padding: spacing() spacing(x2);
}

.c-orderCard-content--defaultMessage {
Expand Down

0 comments on commit e9e7d45

Please sign in to comment.