Skip to content

Commit 879737a

Browse files
committed
people tab responsiveness fix
1 parent e324333 commit 879737a

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

_sass/main.scss

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -737,25 +737,39 @@ section:last-child::after {
737737
}
738738

739739
@media (max-width: 900px) {
740-
.person-grid {
740+
741+
.person-grid,
742+
.postdoc .person-grid,
743+
.collaborators .person-grid {
741744
grid-template-columns: repeat(2, 280px);
742745
}
743746

744-
.faculty .person-grid {
747+
.faculty .person-grid,
748+
.phd .person-grid {
745749
grid-template-columns: repeat(2, 280px);
746750
}
747751

748-
.faculty .person {
752+
.faculty .person,
753+
.phd .person,
754+
.postdoc .person,
755+
.collaborators .collaborator {
749756
width: 280px;
750757
}
751758
}
752759

753760
@media (max-width: 720px) {
754-
.faculty .person-grid {
761+
762+
.faculty .person-grid,
763+
.phd .person-grid,
764+
.postdoc .person-grid,
765+
.collaborators .person-grid {
755766
grid-template-columns: 1fr;
756767
}
757768

758-
.faculty .person {
769+
.faculty .person,
770+
.phd .person,
771+
.postdoc .person,
772+
.collaborators .collaborator {
759773
width: 100%;
760774
max-width: 520px;
761775
}

0 commit comments

Comments
 (0)