Skip to content
Snippets Groups Projects
Commit b72522e4 authored by Xingan Zhao's avatar Xingan Zhao
Browse files

fix:team

parent f30b1f27
No related branches found
No related tags found
No related merge requests found
Pipeline #461393 passed
...@@ -418,6 +418,13 @@ footer a:hover { ...@@ -418,6 +418,13 @@ footer a:hover {
justify-content: center; justify-content: center;
} }
.sticky-font {
font-size: 1.3vh !important;
}
.sticky-title {
font-size: 3vh !important;
}
.sticky-words { .sticky-words {
font-size: large; font-size: large;
/* display: flex; /* display: flex;
......
...@@ -46,9 +46,9 @@ const Card: React.FC<CardProps> = ({ image1, image2, title1, description1, id, ...@@ -46,9 +46,9 @@ const Card: React.FC<CardProps> = ({ image1, image2, title1, description1, id,
const StickyImageContainer: React.FC<{ image: string ,words: string ,names: string}> = ({ image,words,names }) => { const StickyImageContainer: React.FC<{ image: string ,words: string ,names: string}> = ({ image,words,names }) => {
return ( return (
<div className="sticky-container" > <div className="sticky-container" >
<h3 className='center-text'>{names}</h3> <h3 className='sticky-title center-text'>{names}</h3>
<img src={image} alt="Sticky" className='sticky-img' /> <img src={image} alt="Sticky" className='sticky-img' />
<p className='sticky-words sticky-description indent'>{words}</p> <p className='sticky-font sticky-description indent'>{words}</p>
</div> </div>
); );
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment