Skip to content
Snippets Groups Projects
Commit 30cbe1b7 authored by Romain CREY's avatar Romain CREY
Browse files

text in header

parent 68754882
No related branches found
No related tags found
1 merge request!39Merge DEV to MASTER
...@@ -54,10 +54,24 @@ const Header: React.FC<HeaderProps> = ({ ...@@ -54,10 +54,24 @@ const Header: React.FC<HeaderProps> = ({
<div className="header-top"> <div className="header-top">
<div className="header-content"> <div className="header-content">
{textKey && ( {textKey && (
<div className="header-text text-22-bold">{t(textKey)}</div> <div
className={`header-text ${
screenType === ScreenType.MOBILE
? 'text-14-normal-uppercase'
: 'text-22-bold'
}`}
>
{t(textKey)}
</div>
)} )}
{desktopTitleKey && ( {desktopTitleKey && (
<div className="header-text-desktop text-22-bold"> <div
className={`header-text-desktop ${
screenType === ScreenType.MOBILE
? 'text-14-normal-uppercase'
: 'text-22-bold'
}`}
>
{displayBackArrow && ( {displayBackArrow && (
<StyledIconButton <StyledIconButton
className="cv-button" className="cv-button"
......
...@@ -43,9 +43,6 @@ const SingleFluidViewContainer: React.FC<SingleFluidViewContainerProps> = ({ ...@@ -43,9 +43,6 @@ const SingleFluidViewContainer: React.FC<SingleFluidViewContainerProps> = ({
const defineHeaderHeight = (height: number) => { const defineHeaderHeight = (height: number) => {
setHeaderHeight(height) setHeaderHeight(height)
} }
useEffect(() => {
console.log('chart', isChartLoading, 'in', isIndicatorsLoading)
}, [isChartLoading, isIndicatorsLoading])
return ( return (
<> <>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment