Skip to content

Commit b8e726f

Browse files
authored
Merge pull request #9 from badw/main
Fix mobile supervision card width overflow
2 parents acf67fc + eb7c4f2 commit b8e726f

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

assets/css/supervision.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
}
2020

2121
.supervision-widget .person-card {
22+
box-sizing: border-box;
2223
display: grid;
2324
grid-template-columns: 92px 1fr;
2425
column-gap: 1.6rem;
@@ -196,12 +197,29 @@
196197
}
197198

198199
@media (max-width: 560px) {
200+
.supervision-widget .people-grid {
201+
width: 100%;
202+
}
203+
199204
.supervision-widget .person-card {
205+
width: 100%;
206+
max-width: 100%;
207+
margin-inline: 0;
208+
padding: 1rem;
200209
grid-template-columns: 1fr;
201210
row-gap: 0.75rem;
202211
align-items: flex-start;
203212
}
204213

214+
.supervision-widget .person-meta {
215+
padding-right: 0;
216+
}
217+
218+
.supervision-widget .person-title-links {
219+
position: static;
220+
transform: none;
221+
}
222+
205223
.supervision-widget .alumni-list li {
206224
flex-direction: column;
207225
gap: 0.2rem;

0 commit comments

Comments
 (0)