Skip to content

Commit f3da523

Browse files
committed
Fix issue, Cards carousel best practices
1 parent 8571fb3 commit f3da523

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/campus-life/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ export default function CampusLifePage() {
213213
</div>
214214
</div>
215215
<div className="p-4">
216-
<h3 className="text-base font-bold mb-3">{dorm.title}</h3>
217-
<ul className="space-y-1.5">
216+
<h3 className="text-base font-bold mb-3 text-center">{dorm.title}</h3>
217+
<ul className="space-y-1.5 px-6">
218218
{dorm.features.map((feature, i) => (
219219
<li key={i} className="flex items-center gap-2 text-xs text-muted-foreground">
220220
<div className="w-1.5 h-1.5 rounded-full bg-primary flex-shrink-0" />
@@ -289,9 +289,9 @@ export default function CampusLifePage() {
289289
{dorm.price}
290290
</div>
291291
</div>
292-
<div className="p-4 flex flex-col items-center">
292+
<div className="p-4">
293293
<h3 className="text-base font-bold mb-3 text-center">{dorm.title}</h3>
294-
<ul className="space-y-1.5">
294+
<ul className="space-y-1.5 px-6">
295295
{dorm.features.map((feature, i) => (
296296
<li key={i} className="flex items-center gap-2 text-xs text-muted-foreground">
297297
<div className="w-1.5 h-1.5 rounded-full bg-primary flex-shrink-0" />

0 commit comments

Comments
 (0)