idk, i give up why mobile isnt working

This commit is contained in:
2026-01-29 06:20:51 -08:00
parent 1165d02a34
commit a731f49b87
2 changed files with 10 additions and 10 deletions
+8 -8
View File
@@ -1,21 +1,21 @@
/* Make sure container never exceeds viewport */
.container {
max-width: 100vw; /* use viewport width */
width: 100%;
padding: 1rem; /* optional horizontal padding */
max-width: 100%;
padding: 1rem;
box-sizing: border-box;
overflow-x: hidden; /* prevent horizontal scroll */
text-align: center;
overflow-x: hidden; /* prevents accidental scroll, but doesn't truncate text */
}
/* Reset headings to prevent default margin issues */
/* Headings */
h1, h2, h3 {
margin: 0.5rem 0; /* smaller vertical spacing */
word-wrap: break-word;
margin: 0.5rem 0;
white-space: normal; /* allow normal wrapping if needed */
word-wrap: break-word; /* break only at words, not in middle */
overflow-wrap: break-word;
}
/* Optional mobile font adjustments */
/* Mobile tweaks */
@media (max-width: 480px) {
h1 { font-size: 1.5rem; }
h2 { font-size: 1.2rem; }