fix: Add max-w-4xl mx-auto to sections for consistent width

This commit is contained in:
OpenCode Agent
2026-04-02 19:04:15 +07:00
parent 8ae6f412d9
commit 5159445a51
19 changed files with 185 additions and 363 deletions

View File

@@ -213,7 +213,8 @@ import Footer from '@/components/common/Footer.astro';
<!-- UPVC vs CPVC Comparison -->
<section id="comparison" class="section bg-white">
<div class="container-custom">
<h2 class="text-xl font-bold text-secondary-900 mb-8">เปรียบเทียบ UPVC กับ CPVC</h2>
<div class="max-w-4xl mx-auto">
<h2 class="text-xl font-bold text-secondary-900 mb-8">เปรียบเทียบ UPVC กับ CPVC</h2>
<div class="overflow-x-auto">
<table class="w-full border-collapse bg-gray-50 rounded-lg">
<thead>
@@ -232,6 +233,7 @@ import Footer from '@/components/common/Footer.astro';
<tr><td class="px-4 py-2 font-medium">เหมาะกับ</td><td class="px-4 py-2 text-center">น้ำเย็น, ระบายน้ำ</td><td class="px-4 py-2 text-center">น้ำร้อน, ไอน้ำ</td></tr>
</tbody>
</table>
</div>
</div>
</div>
</section>
@@ -239,7 +241,8 @@ import Footer from '@/components/common/Footer.astro';
<!-- Schedule Guide -->
<section id="schedule" class="section bg-gray-50">
<div class="container-custom">
<h2 class="text-xl font-bold text-secondary-900 mb-8">Schedule 40 vs Schedule 80</h2>
<div class="max-w-4xl mx-auto">
<h2 class="text-xl font-bold text-secondary-900 mb-8">Schedule 40 vs Schedule 80</h2>
<div class="grid md:grid-cols-2 gap-6">
<div class="bg-white p-5 rounded-lg">
<h3 class="font-bold text-secondary-900 mb-3">Schedule 40</h3>
@@ -268,8 +271,9 @@ import Footer from '@/components/common/Footer.astro';
<!-- FAQ Section -->
<section id="faq" class="section bg-white">
<div class="container-custom">
<h2 class="text-xl font-bold text-secondary-900 mb-8">คำถามที่พบบ่อย</h2>
<div class="space-y-4 max-w-4xl">
<div class="max-w-4xl mx-auto">
<h2 class="text-xl font-bold text-secondary-900 mb-8">คำถามที่พบบ่อย</h2>
<div class="space-y-4">
<div class="bg-gray-50 rounded-lg p-4">
<h3 class="font-semibold text-secondary-900 mb-2">Q: UPVC ใช้กับน้ำร้อนได้ไหม?</h3>
<p class="text-secondary-700">ไม่แนะนำ UPVC ทนความร้อนได้สูงสุด 60°C สำหรับน้ำร้อนควรใช้ CPVC หรือ PPR แทน</p>