Skip to content

Commit aba8f73

Browse files
committed
Update
1 parent 9fef54b commit aba8f73

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

assets/css/main.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ body {
281281
display: flex;
282282
flex-direction: column;
283283
align-items: center;
284+
max-width: 200px;
285+
margin: 0 auto;
284286
}
285287

286288
.person-card:hover {
@@ -376,17 +378,18 @@ body {
376378
.pub-thumbnail {
377379
position: relative;
378380
flex-shrink: 0;
379-
width: 160px;
380-
height: 120px;
381+
width: 200px;
382+
height: 150px;
381383
overflow: hidden;
382384
border-radius: 8px;
383385
border: 1px solid var(--border-color);
386+
background: #f5f5f5;
384387
}
385388

386389
.pub-thumbnail img {
387390
width: 100%;
388391
height: 100%;
389-
object-fit: cover;
392+
object-fit: contain;
390393
}
391394

392395
.pub-venue-tag {
@@ -663,7 +666,7 @@ body {
663666

664667
.pub-thumbnail {
665668
width: 100%;
666-
height: 200px;
669+
height: 220px;
667670
}
668671

669672
.pub-title {

0 commit comments

Comments
 (0)