diff --git a/src/app/globals.css b/src/app/globals.css index defb898..82f99bf 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -224,6 +224,7 @@ section h2 { .photo-credit:hover { color: var(--light-text-color); text-align: end; + place-self: end; } @media (min-width: 70em) { .no-mobile { diff --git a/src/components/page-sections/events.module.css b/src/components/page-sections/events.module.css index 8552aa6..d4387f5 100644 --- a/src/components/page-sections/events.module.css +++ b/src/components/page-sections/events.module.css @@ -82,6 +82,12 @@ .card { padding: 2em; } + .image { + display: flex; + flex-direction: column; + align-items: stretch; + justify-content: center; + } } .readMore { diff --git a/src/components/page-sections/events.tsx b/src/components/page-sections/events.tsx index d1f81e2..fedd22f 100644 --- a/src/components/page-sections/events.tsx +++ b/src/components/page-sections/events.tsx @@ -89,9 +89,7 @@ const Events = async () => { style={{ borderRadius: "1rem", objectFit: "cover", height: "100%" }} alt="Medlemmer spiller brettspill" /> -
Foto: 장태민, Studentenes Fotoklubb
-Foto: 장태민, Studentenes Fotoklubb