Skip to content

Commit 9e681a5

Browse files
authored
Merge pull request #19 from tldr-group/rd/fix-card-spacing
reduce spacing between name and role
2 parents 279080e + f15b553 commit 9e681a5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/Team.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ const PersonComponent = ({ personData }: { personData: Person }) => {
139139
)}
140140

141141
<h3>{name}</h3>
142-
<p style={{ textAlign: "center", marginTop: "0em" }}>{role}</p>
143-
<p style={{ textAlign: "center", marginTop: "0.5em", fontStyle: "italic" }}>{shortDesc}</p>
142+
<p style={{ textAlign: "center", marginTop: "0em", marginBottom: "0.4em" }}>{role}</p>
143+
<p style={{ textAlign: "center", marginTop: "0em", fontStyle: "italic" }}>{shortDesc}</p>
144144
{isHovered && (
145145
<div
146146
style={{

src/styles.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ input:checked + .slider:before {
299299
align-items: flex-start;
300300
gap: 1.5em;
301301
width: 100%;
302+
overflow-y: scroll;
302303
}
303304

304305
.person-card {

0 commit comments

Comments
 (0)