Skip to content
Snippets Groups Projects
Commit 00a70001 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

feat: align ecogesture texts

parent b2005f10
No related branches found
No related tags found
1 merge request!15Merge Dev to Master
...@@ -56,15 +56,15 @@ const EcogestureCard: React.FC<EcogestureCardProps> = ({ ...@@ -56,15 +56,15 @@ const EcogestureCard: React.FC<EcogestureCardProps> = ({
ecogesture.unlocked ? 'ec-content-unlocked' : '' ecogesture.unlocked ? 'ec-content-unlocked' : ''
}`} }`}
> >
{ecogesture.unlocked && ecogesture.iconName && ( <div className="ec-content-icon">
<div> {ecogesture.unlocked && ecogesture.iconName && (
<Icon <Icon
className="Icon" className="Icon"
icon={getEcogestureIconSVG(ecogesture.iconName)} icon={getEcogestureIconSVG(ecogesture.iconName)}
size={50} size={50}
/> />
</div> )}
)} </div>
<div className="ec-content-short-name text-16-bold"> <div className="ec-content-short-name text-16-bold">
{ecogesture.shortName} {ecogesture.shortName}
</div> </div>
......
...@@ -61,6 +61,9 @@ ...@@ -61,6 +61,9 @@
&.ec-content-challenge { &.ec-content-challenge {
padding: 0.5rem 0; padding: 0.5rem 0;
} }
.ec-content-icon{
min-height: 50px;
}
.ec-content-challenge-text { .ec-content-challenge-text {
display: flex; display: flex;
flex: 1; flex: 1;
...@@ -69,7 +72,7 @@ ...@@ -69,7 +72,7 @@
.ec-content-short-name { .ec-content-short-name {
display: flex; display: flex;
flex: 1; flex: 1;
align-items: flex-end; align-items: center;
text-align: center; text-align: center;
} }
.ec-content-nwh { .ec-content-nwh {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment