diff --git a/frontend/src/Components/ImdbRating.css b/frontend/src/Components/ImdbRating.css index 0dd8f64ec..106489a3f 100644 --- a/frontend/src/Components/ImdbRating.css +++ b/frontend/src/Components/ImdbRating.css @@ -1,3 +1,7 @@ +.wrapper { + display: inline-block; +} + .image { align-content: center; margin-right: 5px; diff --git a/frontend/src/Components/ImdbRating.css.d.ts b/frontend/src/Components/ImdbRating.css.d.ts index c5c2756fa..5855b0861 100644 --- a/frontend/src/Components/ImdbRating.css.d.ts +++ b/frontend/src/Components/ImdbRating.css.d.ts @@ -2,6 +2,7 @@ // Please do not change this file! interface CssExports { 'image': string; + 'wrapper': string; } export const cssExports: CssExports; export default cssExports; diff --git a/frontend/src/Components/ImdbRating.tsx b/frontend/src/Components/ImdbRating.tsx index f2d9ce1b6..68810b5ba 100644 --- a/frontend/src/Components/ImdbRating.tsx +++ b/frontend/src/Components/ImdbRating.tsx @@ -23,7 +23,7 @@ function ImdbRating(props: ImdbRatingProps) { return ( + {!hideIcon && ( 50 ? rtFresh : rtRotten; return ( - + {!hideIcon && ( + {!hideIcon && ( + {!hideIcon && (