Adaptive title font size for mobile (#199)

This commit is contained in:
Arseniy authored and GitHub committed 2024-03-11 19:30:22 -04:00
1 parent 734b1b97ac
commit e2e22c5dc7
1 file changed
+2 -1
+2 -1
View File
@@ -436,7 +436,8 @@ td pre {
}
#content-header h2 {
font-size: 1.4rem;
/* Adjust the font size to the screen width, ensuring that the title doesn't overflow */
font-size: clamp(1.0rem, 4.8vw, 1.4rem);
margin: 8px 0;
}