File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 1616 }
1717
1818 main {
19- max-width : 850px ; /* limit width for readability */
20- margin : 3rem auto; /* center content */
21- padding : 0 1.5rem ; /* left/right padding on mobile */
19+ max-width : 850px ;
20+ margin : 3rem auto;
21+ padding : 0 1.5rem ;
2222 background-color : white;
2323 border-radius : 8px ;
2424 box-shadow : 0 2px 8px rgba (0 , 0 , 0 , 0.05 );
6767 a : hover {
6868 text-decoration : underline;
6969 }
70- /* Wrap long MathJax equations so they scroll horizontally */
70+
71+ /* ✅ Scrollable long equations */
7172 .math-display {
7273 overflow-x : auto !important ;
7374 overflow-y : hidden;
7475 max-width : 100% ;
75- -webkit-overflow-scrolling : touch; /* smooth scrolling on mobile */
76+ -webkit-overflow-scrolling : touch;
77+ }
78+
79+ .math-display > .MathJax {
80+ padding-bottom : 0.5rem ;
7681 }
7782
78- /* Add a little padding below equations */
7983 .math-display ::-webkit-scrollbar {
80- height : 2 px ;
84+ height : 8 px ;
8185 }
8286 .math-display ::-webkit-scrollbar-thumb {
8387 background : # ccc ;
You can’t perform that action at this time.
0 commit comments