Skip to content

Commit 65afda4

Browse files
@anmaxclaude
andcommitted
Testimonials: 4x2 grid (perfectly even, no orphan row); add <=1080px -> 2 cols
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a62ed22 commit 65afda4

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎index.html‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@
9999
html { scroll-snap-type: none; }
100100
.rt-reveal { opacity: 1; transform: none; transition: none; }
101101
}
102+
@media (max-width: 1080px) {
103+
.rt-reviews-grid { grid-template-columns: repeat(2, 1fr) !important; }
104+
}
102105
@media (max-width: 960px) {
103106
html { scroll-snap-type: none; }
104107
.rt-snap { min-height: 0 !important; }

‎sections.jsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ function Testimonials() {
406406
onMouseLeave={(e) => (e.currentTarget.style.color = "var(--text-muted)")}>Все отзывы на Яндексе →</a>
407407
</div>
408408
</div>
409-
<div className="rt-reviews-grid" style={{ display: "grid", gridTemplateColumns: "repeat(3, 1fr)", gap: "14px", alignItems: "stretch" }}>
409+
<div className="rt-reviews-grid" style={{ display: "grid", gridTemplateColumns: "repeat(4, 1fr)", gap: "14px", alignItems: "stretch" }}>
410410
{REVIEWS.map((r) => (
411411
<div key={r.name + r.date} style={{ border: "1px solid var(--border-hair)", background: "var(--bg-surface)", padding: "22px", display: "flex", flexDirection: "column", gap: "16px", height: "100%" }}>
412412
<div style={{ display: "flex", alignItems: "center", gap: "12px" }}>

0 commit comments

Comments
 (0)