Skip to content

Commit 686a3af

Browse files
author
TechStack Global
committed
style(mobile): force grid stacking and padding reductions for premium components on mobile sizing
1 parent f4ad28d commit 686a3af

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

style.css

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,4 +1512,54 @@ img {
15121512
.comparison-table td {
15131513
padding: 1rem;
15141514
border-bottom: 1px solid var(--border-glass);
1515+
}
1516+
1517+
/* Comprehensive Mobile Optimization for Premium Elements */
1518+
@media screen and (max-width: 768px) {
1519+
1520+
/* Scale down giant font sizes */
1521+
.post-title {
1522+
font-size: 1.8rem !important;
1523+
line-height: 1.3 !important;
1524+
}
1525+
1526+
h2 {
1527+
font-size: 1.6rem !important;
1528+
margin-top: 2rem !important;
1529+
}
1530+
1531+
h3 {
1532+
font-size: 1.3rem !important;
1533+
}
1534+
1535+
/* Reduce paddings in premium boxes so text isn't squeezed */
1536+
.tldr-verdict {
1537+
padding: 1.25rem !important;
1538+
}
1539+
1540+
.glass-card {
1541+
padding: 1.25rem !important;
1542+
}
1543+
1544+
/* Override inline grid column styles for stacking on mobile */
1545+
.audience-grid,
1546+
.blog-grid {
1547+
display: flex !important;
1548+
flex-direction: column !important;
1549+
gap: 1.5rem !important;
1550+
}
1551+
1552+
/* Fix image overflows */
1553+
.post-hero-img,
1554+
.post-body-img {
1555+
border-radius: 8px !important;
1556+
margin: 1.5rem 0 !important;
1557+
}
1558+
1559+
/* Tighter table paddings for tiny screens */
1560+
.comparison-table th,
1561+
.comparison-table td {
1562+
padding: 0.75rem 0.5rem !important;
1563+
font-size: 0.9rem !important;
1564+
}
15151565
}

0 commit comments

Comments
 (0)