Skip to content

Commit 80387ec

Browse files
committed
Set height to 100% on very small screens
1 parent d590326 commit 80387ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dotcom-rendering/src/components/Masthead/HighlightsCard.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const container = css`
3838
display: flex;
3939
flex-direction: column;
4040
justify-content: space-between;
41+
height: 100%;
4142
column-gap: ${space[2]}px;
4243
/** Relative positioning is required to absolutely position the card link overlay */
4344
position: relative;
@@ -57,10 +58,8 @@ const container = css`
5758
}
5859
${between.mobileMedium.and.tablet} {
5960
min-height: 194px;
60-
height: 100%;
6161
}
6262
${from.tablet} {
63-
height: 100%;
6463
width: 160px;
6564
padding: 10px 10px 0 10px;
6665
}

0 commit comments

Comments
 (0)