Skip to content

Commit

Permalink
fix: card height improvements and koros 1px (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
melniiv authored Dec 7, 2023
1 parent 25f401b commit 6cdfae8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-helsinki-headless-cms",
"version": "1.0.0-alpha235",
"version": "1.0.0-alpha237",
"description": "React components for displaying Headless CMS content according to guidelines set by HDS",
"main": "cjs/index.js",
"module": "index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/core/card/card.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
flex-direction: column;
justify-content: space-between;
height: 100%;
position: unset;
position: relative;

@include respond_below(s) {
background-color: var(--color-white) !important;
Expand All @@ -245,7 +245,7 @@

.content {
@include respond_above(s) {
min-height: var(--height-image-desktop);
height: 100%;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/pageSection/pageSection.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
& .korosTop,
& .korosBottom {
position: absolute;
//z-index: 1;
margin-bottom: -1px;
}

.korosTop {
Expand Down

0 comments on commit 6cdfae8

Please sign in to comment.