[라이브 채널 넥스트 버튼 수정]
- qvc가 짤려보이는문제 관련하여 수정.
This commit is contained in:
@@ -1,16 +1,13 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
|
import classNames from 'classnames';
|
||||||
import { compose } from 'ramda/src/compose';
|
import { compose } from 'ramda/src/compose';
|
||||||
|
|
||||||
import Spotlight from '@enact/spotlight';
|
import Spotlight from '@enact/spotlight';
|
||||||
import Spottable from '@enact/spotlight/Spottable';
|
import Spottable from '@enact/spotlight/Spottable';
|
||||||
import {
|
import { Marquee, MarqueeController } from '@enact/ui/Marquee';
|
||||||
Marquee,
|
|
||||||
MarqueeController,
|
|
||||||
} from '@enact/ui/Marquee';
|
|
||||||
|
|
||||||
import icon_arrow_dwon
|
import icon_arrow_dwon from '../../../../../assets/images/player/icon_tabcontainer_arrow_down.png';
|
||||||
from '../../../../../assets/images/player/icon_tabcontainer_arrow_down.png';
|
|
||||||
import CustomImage from '../../../../components/CustomImage/CustomImage';
|
import CustomImage from '../../../../components/CustomImage/CustomImage';
|
||||||
import { SpotlightIds } from '../../../../utils/SpotlightIds';
|
import { SpotlightIds } from '../../../../utils/SpotlightIds';
|
||||||
import css from './LiveChannelNext.module.less';
|
import css from './LiveChannelNext.module.less';
|
||||||
@@ -55,9 +52,19 @@ export default function LiveChannelNext({
|
|||||||
onSpotlightRight={handleSpotlightRight}
|
onSpotlightRight={handleSpotlightRight}
|
||||||
>
|
>
|
||||||
<div className={css.logoWrapper}>
|
<div className={css.logoWrapper}>
|
||||||
<div className={css.logoBackground} style={{ background: backgroundColor }}>
|
<div
|
||||||
|
className={css.logoBackground}
|
||||||
|
style={{ background: backgroundColor }}
|
||||||
|
>
|
||||||
{channelLogo ? (
|
{channelLogo ? (
|
||||||
<CustomImage src={channelLogo} alt={channelName} className={css.logoImage} />
|
<CustomImage
|
||||||
|
src={channelLogo}
|
||||||
|
alt={channelName}
|
||||||
|
className={classNames(
|
||||||
|
css.logoImage,
|
||||||
|
channelName === 'QVC' && css.qvcLogoImg
|
||||||
|
)}
|
||||||
|
/>
|
||||||
) : (
|
) : (
|
||||||
<div className={css.logoPlaceholder} />
|
<div className={css.logoPlaceholder} />
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
@import "../../../../style/CommonStyle.module.less";
|
@import '../../../../style/CommonStyle.module.less';
|
||||||
@import "../../../../style/utils.module.less";
|
@import '../../../../style/utils.module.less';
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@@ -51,13 +51,16 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: linear-gradient(180deg, #284998 0%, #06B0EE 100%);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.logoImage {
|
.logoImage {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
&.qvcLogoImg {
|
||||||
|
width: 70%;
|
||||||
|
height: 70%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.logoPlaceholder {
|
.logoPlaceholder {
|
||||||
@@ -69,7 +72,7 @@
|
|||||||
.channelName {
|
.channelName {
|
||||||
color: #fcfcfc;
|
color: #fcfcfc;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
font-family: "LG Smart UI";
|
font-family: 'LG Smart UI';
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
line-height: 35px;
|
line-height: 35px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -81,7 +84,7 @@
|
|||||||
.programName {
|
.programName {
|
||||||
color: rgba(234, 234, 234, 0.7);
|
color: rgba(234, 234, 234, 0.7);
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
font-family: "LG Smart UI";
|
font-family: 'LG Smart UI';
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 35px;
|
line-height: 35px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -91,7 +94,6 @@
|
|||||||
max-width: 180px; // 최대 너비 제한 완화
|
max-width: 180px; // 최대 너비 제한 완화
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.arrowIcon {
|
.arrowIcon {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user