]> danix's work - danix.xyz-2.git/commit
fix: resolve mobile viewport overflow on article pages
authorDanilo M. <redacted>
Mon, 20 Apr 2026 19:55:11 +0000 (21:55 +0200)
committerDanilo M. <redacted>
Mon, 20 Apr 2026 19:55:11 +0000 (21:55 +0200)
commit96df3bfc30a4e36d3e9831802fa0e7336679836b
tree76aa0d85e9e004b2b4ea4ad862b2b51dc4901abb
parent6e6c64b40b07bc7807fc7f2ee539b9d0cdcdc4e8
fix: resolve mobile viewport overflow on article pages

Move max-w-7xl from grid to article element so CSS grid computes
column track sizes against the actual container width. Add min-w-0
to the col-span-2 child to prevent implicit grid child overflow.
Simplify .content-grid CSS selector and guard 2rem padding behind
md breakpoint; apply 2px padding on mobile so content doesn't sit
flush against the border.

Co-Authored-By: Claude Haiku 4.5 <redacted>
themes/danix-xyz-hacker/assets/css/main.css
themes/danix-xyz-hacker/assets/css/main.min.css
themes/danix-xyz-hacker/layouts/_default/single.html