Skip to content

Commit 1fcc884

Browse files
committed
Merge master into release
2 parents 35df1b7 + a1b3648 commit 1fcc884

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/components/banners/ImageOnRightBannerLayout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { Blurb } from "./Blurb";
77
import useMedia from "use-media";
88
import { Breadcrumbs } from "../Breadcrumbs";
99
import { BookCount } from "../BookCount";
10+
import { standardBannerHeight } from "./StandardBannerLayout";
1011

1112
export const ImageOnRightBannerLayout: React.FunctionComponent<{
1213
collection: ICollection;
@@ -35,6 +36,7 @@ export const ImageOnRightBannerLayout: React.FunctionComponent<{
3536
css={css`
3637
display: flex;
3738
flex-direction: row;
39+
max-height: ${standardBannerHeight};
3840
`}
3941
>
4042
<Blurb {...props} hideTitle={props.banner.hideTitle} />

src/components/banners/StandardBannerLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Blurb } from "./Blurb";
99
import { useMediaQuery } from "@material-ui/core";
1010
import { BannerImageCredits } from "./ImageCreditsTooltip";
1111

12-
export const standardBannerHeight = "260px";
12+
export const standardBannerHeight = "180px";
1313

1414
export const StandardBannerLayout: React.FunctionComponent<{
1515
collection: ICollection;

0 commit comments

Comments
 (0)