Skip to content

Commit 861f017

Browse files
committed
made some things single row
1 parent cefec1b commit 861f017

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

mlflow-site/src/app/components/FeatureCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const FeatureCard = () => {
22
return (
33
<div className='featureCard'>
4-
<div>FeatureCard1</div>
4+
<div>FeatureCard1 hello how are you doing?</div>
55
<div>FeatureCard2</div>
66
<div>FeatureCard3</div>
77
<div>FeatureCard4</div>

mlflow-site/src/app/components/TeamCard.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ const TeamCard: React.FC<TeamCardProps> = ({
1616
}) => {
1717
return (
1818
<div className='teamcard'>
19-
<img src={imageNotFound} alt='Img not found'></img>
19+
{/* <div style={{ backgroundImage: 'url(../../assets/imageNotFound.jpg)' }} className='teamCardImg'></div> */}
20+
<img src={imageNotFound} alt='Miss'></img>
2021
<div>{name}</div>
2122
<div>
2223
<a href={github}>G </a>

mlflow-site/src/app/globals.css

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ body {
4343
display: grid;
4444
grid-template-columns: 1fr 360px 1fr;
4545
grid-template-rows: 1fr;
46+
overflow-y: auto;
4647
}
4748

4849
.mobileWrapper {
@@ -134,14 +135,17 @@ body {
134135
grid-row: 3;
135136
width: 100%;
136137
background-color: rgb(176, 47, 107);
138+
display: grid;
139+
place-items: center;
137140
}
138141

139142
.featureCard {
140143
width: 100%;
141144
background-color: rgb(122, 144, 167);
142145
display: grid;
143-
grid-template-columns: 50% 50%;
144-
grid-template-rows: 50% 50%;
146+
grid-template-columns: 100%;
147+
grid-template-rows: min-content;
148+
text-align: center;
145149
}
146150

147151
.demo {
@@ -157,8 +161,8 @@ body {
157161
.demoSplit {
158162
width: 100%;
159163
display: grid;
160-
grid-template-columns: 50% 50%;
161-
grid-template-rows: 100%;
164+
grid-template-columns: 100%;
165+
grid-template-rows: min-content;
162166
}
163167

164168
.teamCards {
@@ -175,4 +179,9 @@ body {
175179
flex-direction: column;
176180
justify-content: center;
177181
align-items: center;
182+
}
183+
184+
.teamCardImg {
185+
width: 50px;
186+
height: 50px;
178187
}

0 commit comments

Comments
 (0)