This commit is contained in:
Keep Creating Online
2025-01-29 22:07:41 -05:00
parent f47212ebb2
commit 1990020942
3 changed files with 36 additions and 37 deletions

View File

@@ -267,25 +267,19 @@ button:not(.icon-button):focus {
}
/* Notifications */
/* Base styling without a forced display */
#errorContainer,
#successContainer {
border-radius: 0.5rem;
padding: 1rem;
margin-bottom: 1rem;
align-items: center; /* Keep the rest of your styling */
}
/* When not hidden, display as flex */
#errorContainer:not(.hidden),
#successContainer:not(.hidden) {
display: flex;
align-items: center;
}
#errorContainer {
background-color: rgb(220 38 38 / 0.1);
color: #fecaca;
border: 1px solid rgb(220 38 38 / 0.2);
}
#successContainer {
background-color: rgb(34 197 94 / 0.1);
color: #bbf7d0;
border: 1px solid rgb(34 197 94 / 0.2);
}
/* Responsive Design */