Prevent line wraps on mobile for ratings

pull/10475/head
Bogdan 4 months ago
parent f735e31835
commit 66a6a663ba

@ -1,3 +1,7 @@
.wrapper {
display: inline-block;
}
.image {
align-content: center;
margin-right: 5px;

@ -2,6 +2,7 @@
// Please do not change this file!
interface CssExports {
'image': string;
'wrapper': string;
}
export const cssExports: CssExports;
export default cssExports;

@ -23,7 +23,7 @@ function ImdbRating(props: ImdbRatingProps) {
return (
<Tooltip
anchor={
<span>
<span className={styles.wrapper}>
{!hideIcon && (
<img
className={styles.image}

@ -1,3 +1,7 @@
.wrapper {
display: inline-block;
}
.image {
align-content: center;
margin-right: 5px;

@ -2,6 +2,7 @@
// Please do not change this file!
interface CssExports {
'image': string;
'wrapper': string;
}
export const cssExports: CssExports;
export default cssExports;

@ -24,7 +24,7 @@ function RottenTomatoRating(props: RottenTomatoRatingProps) {
const ratingImage = value > 50 ? rtFresh : rtRotten;
return (
<span>
<span className={styles.wrapper}>
{!hideIcon && (
<img
className={styles.image}

@ -1,3 +1,7 @@
.wrapper {
display: inline-block;
}
.image {
align-content: center;
margin-right: 5px;

@ -2,6 +2,7 @@
// Please do not change this file!
interface CssExports {
'image': string;
'wrapper': string;
}
export const cssExports: CssExports;
export default cssExports;

@ -22,7 +22,7 @@ function TmdbRating(props: TmdbRatingProps) {
return (
<Tooltip
anchor={
<span>
<span className={styles.wrapper}>
{!hideIcon && (
<img
className={styles.image}

@ -1,3 +1,7 @@
.wrapper {
display: inline-block;
}
.image {
align-content: center;
margin-right: 5px;

@ -2,6 +2,7 @@
// Please do not change this file!
interface CssExports {
'image': string;
'wrapper': string;
}
export const cssExports: CssExports;
export default cssExports;

@ -22,7 +22,7 @@ function TraktRating(props: TraktRatingProps) {
return (
<Tooltip
anchor={
<span>
<span className={styles.wrapper}>
{!hideIcon && (
<img
className={styles.image}

Loading…
Cancel
Save