Skip to content

Commit f450c18

Browse files
committed
chore: aspect
1 parent b2155ef commit f450c18

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

app/components/SponsorGrid.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,6 @@ const localeRoute = useLocaleRoute();
7979
width: 100%;
8080
height: auto;
8181
object-fit: contain;
82+
aspect-ratio: 250 / 109;
8283
}
8384
</style>

app/pages/_components/SectionAccess.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ const { locale, t } = useI18n();
6262
}
6363
img {
6464
width: 100%;
65+
aspect-ratio: 342 / 227;
6566
}
6667
}
6768
</style>

app/pages/event/index.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,10 @@ useSeoMeta({
381381
margin-top: 4.75rem;
382382
}
383383
}
384-
385384
}
386-
.discussion-event,.student-support-event{
385+
386+
.discussion-event,
387+
.student-support-event {
387388
:deep(h3) {
388389
font-size: 1.125rem;
389390
line-height: 1.5;

app/pages/sponsors/[sponsorId]/index.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,17 @@ defineOgImage({
174174
}
175175
}
176176
177-
.sponsor-images{
177+
.sponsor-images {
178178
display: grid;
179179
width: fit-content;
180180
max-width: 400px;
181181
margin: 0 auto;
182-
.name{
182+
183+
img {
184+
aspect-ratio: 399.983 / 224.792;
185+
}
186+
187+
.name {
183188
margin-top: 1rem;
184189
}
185190
}

0 commit comments

Comments
 (0)