}
#alerts {
- position: relative;
+ position: absolute;
+ right: 0;
+ bottom: 0;
}
.alert {
padding: 0.3rem;
max-width: 17rem;
- position: absolute;
- bottom: 1rem;
- right: 0;
line-height: 1.2rem;
+ box-shadow: -3px -3px 4px 0px rgba(0, 0, 0, 0.5);
}
.alert.success, button.success {
border: solid 1px #0a0;
}
#main-nav {
margin-bottom: 1rem;
+ position: relative;
}
#main-nav section {
min-height: 344px;
<p><button class="btn" id="logout">Logout</button></p>
</div>
</section>
+ <div id="alerts"></div>
</div>
- <div id="alerts"></div>
<section id="chat">
<div id="chat-messages" hx-trigger="load delay:1s" hx-get="/chat/history" hx-swap="afterbegin"></div>