maybe css fixed now?

This commit is contained in:
2026-01-29 06:06:29 -08:00
parent 1ebd6ad4e3
commit 8fc7f6beb5
3 changed files with 16 additions and 17 deletions
-15
View File
@@ -111,18 +111,3 @@ dialog::backdrop {
.photo img:hover { .photo img:hover {
transform: scale(1.05); transform: scale(1.05);
} }
.yes-container {
max-width: 100%;
padding: 0 1rem;
box-sizing: border-box;
overflow-x: hidden;
text-align: center;
}
.yes-container h1,
.yes-container h2,
.yes-container h3 {
word-wrap: break-word;
overflow-wrap: break-word;
}
+12
View File
@@ -0,0 +1,12 @@
.container {
max-width: 100%;
padding: 0 1rem;
box-sizing: border-box;
overflow-x: hidden;
text-align: center;
}
h1, h2, h3 {
word-wrap: break-word;
overflow-wrap: break-word;
}
+3 -1
View File
@@ -1,6 +1,8 @@
import styles from './yes.module.css';
export default function YesPage() { export default function YesPage() {
return ( return (
<div className="yes-container"> <div className={styles.container}>
<h1>Congratulations, you're now my valentine!!! 💖🥳</h1> <h1>Congratulations, you're now my valentine!!! 💖🥳</h1>
<h2>No takebacks allowed, you're stuck with me 🎉</h2> <h2>No takebacks allowed, you're stuck with me 🎉</h2>
<h3>Great job using the freewill the website gave you to make the right choice</h3> <h3>Great job using the freewill the website gave you to make the right choice</h3>