Skip to content

Commit d558806

Browse files
committed
refactor(taildwindCSS): Adjust layout for updated lg breakpoint and modify affected pages
- Refactored Tailwind `lg` breakpoint from 1024px to 1194px in tailwind.config.js. - Updated affected pages and media queries to align with the new breakpoint and ensure consistent grid behavior.
1 parent cc67235 commit d558806

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

components/core/layout/TwoColWrapper.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default {
1919

2020
<style lang="postcss" scpoed>
2121
.two-col-layout {
22-
@media (min-width: 1194px) {
22+
@media (min-width: 1024px) {
2323
grid-template-columns: 1fr 5fr;
2424
}
2525
}

components/events/EventCardCollection.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ export default {
1212

1313
<style lang="postcss" scoped>
1414
.eventCardCollection {
15-
@apply mx-0 grid grid-cols-1 justify-items-center sm:grid-cols-2 md:mx-4 lg:grid-cols-3;
15+
@apply mx-0 grid grid-cols-1 justify-items-center sm:grid-cols-2 md:mx-4;
1616
column-gap: 24px;
1717
row-gap: 32px;
1818
@media (min-width: 415px) {
1919
column-gap: 36px;
2020
row-gap: 42px;
2121
}
22+
@media (min-width: 1194px) {
23+
grid-template-columns: repeat(3, minmax(0, 1fr));
24+
}
2225
}
2326
</style>

pages/conference/poster-session.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<template #br><br /></template>
88
</i18n>
99
</banner>
10-
<i18n-page-wrapper class="px-2 sm:px-8 md:px-16 lg:px-32" custom-x>
10+
<i18n-page-wrapper class="px-2 sm:px-8 md:px-16" custom-x>
1111
<div class="poster-session__container">
1212
<article
1313
v-for="poster in $t('posters')"

pages/events/overview.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,6 @@ export default {
170170

171171
<style scoped>
172172
.pageWrapper {
173-
@apply px-4 md:px-32;
173+
@apply px-4 lg:px-32;
174174
}
175175
</style>

tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ module.exports = {
9797
xs: '360px',
9898
sm: '640px',
9999
md: '768px',
100-
lg: '1194px',
100+
lg: '1024px',
101101
xl: '1440px',
102102
'2xl': '1600px',
103103
},

0 commit comments

Comments
 (0)