mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-23 22:17:15 -04:00
Prevent line wraps on mobile for ratings
This commit is contained in:
parent
f735e31835
commit
66a6a663ba
12 changed files with 24 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
.wrapper {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.image {
|
||||
align-content: center;
|
||||
margin-right: 5px;
|
||||
|
|
1
frontend/src/Components/ImdbRating.css.d.ts
vendored
1
frontend/src/Components/ImdbRating.css.d.ts
vendored
|
@ -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;
|
||||
|
|
1
frontend/src/Components/TmdbRating.css.d.ts
vendored
1
frontend/src/Components/TmdbRating.css.d.ts
vendored
|
@ -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;
|
||||
|
|
1
frontend/src/Components/TraktRating.css.d.ts
vendored
1
frontend/src/Components/TraktRating.css.d.ts
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue