Skip to content
This repository was archived by the owner on Jun 10, 2019. It is now read-only.

Commit 218a6f4

Browse files
kylemhhollomancer
authored andcommitted
Fix school card styles
1 parent b6786e4 commit 218a6f4

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/shared/components/schoolCard/schoolCard.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
margin-right: -50%;
3636
}
3737

38-
.schoolDetails {
38+
.schoolText {
39+
line-height: 1;
3940
padding-left: 10px;
4041
}
4142

@@ -53,5 +54,6 @@
5354
}
5455

5556
.schoolInfo {
56-
font-size: .8rem;
57+
font-size: 0.8rem;
58+
line-height: 1.1;
5759
}

src/shared/components/schoolCard/schoolCard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class SchoolCard extends Component {
1010
<img src={this.props.logo} alt={this.props.alt} className={styles.logo} />
1111
</div>
1212

13-
<div className={styles.schoolDetails}>
13+
<div className={styles.schoolText}>
1414
<p>
1515
<span className={styles.schoolName}>
1616
<a href={this.props.link}>{this.props.schoolName}</a>

0 commit comments

Comments
 (0)