4343 box-sizing : border-box;
4444}
4545
46+ html {
47+ overflow-x : hidden;
48+ box-sizing : border-box;
49+ }
50+
51+ * ,
52+ * ::before ,
53+ * ::after {
54+ box-sizing : inherit;
55+ }
56+
4657body {
4758 background-color : var (--bg-darker );
4859 color : var (--text-primary );
4960 font-family : var (--font-main );
5061 line-height : 1.6 ;
5162 overflow-x : hidden;
5263 position : relative;
64+ max-width : 100vw ;
5365}
5466
5567/* Typography */
@@ -819,6 +831,8 @@ img {
819831 display : grid;
820832 grid-template-columns : 1fr 300px ;
821833 gap : 3rem ;
834+ box-sizing : border-box;
835+ width : 100% ;
822836}
823837
824838@media (max-width : 900px ) {
@@ -837,10 +851,11 @@ img {
837851 .article-container {
838852 padding : 0 1rem ;
839853 margin-top : 80px ;
854+ grid-template-columns : 1fr ;
840855 }
841856
842857 .post-body {
843- padding : 1.5 rem 1 rem ;
858+ padding : 1.25 rem ;
844859 }
845860
846861 .post-title {
@@ -858,6 +873,10 @@ img {
858873 .comparison-table-wrapper {
859874 overflow-x : auto;
860875 -webkit-overflow-scrolling : touch;
876+ margin-left : -1.25rem ;
877+ margin-right : -1.25rem ;
878+ padding-left : 1.25rem ;
879+ padding-right : 1.25rem ;
861880 }
862881
863882 .footer-content {
@@ -878,6 +897,10 @@ img {
878897 border : 1px solid var (--border-glass );
879898 border-radius : var (--border-radius );
880899 padding : 3rem ;
900+ max-width : 100% ;
901+ overflow-x : hidden;
902+ box-sizing : border-box;
903+ word-break : break-word;
881904}
882905
883906.post-meta {
@@ -1626,8 +1649,9 @@ img {
16261649 line-height : 1.75 ;
16271650 }
16281651
1629- /* Comparison table min-width ensures horizontal scroll works */
1652+ /* Comparison table scrolls within its wrapper — no forced min-width */
16301653 .comparison-table {
1631- min-width : 480px ;
1654+ width : max-content;
1655+ max-width : none;
16321656 }
16331657}
0 commit comments