login schön gemacht

This commit is contained in:
2026-05-30 13:29:41 +02:00
parent bf0197adae
commit 3154e3de44
2 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ pub fn login_component() -> Html {
html! {
<div>
<h1 class="headline">{ "Anmeldung" }</h1>
<form {onsubmit}>
<form {onsubmit} class="rundbg">
<input
placeholder="username"
value={(*username).clone()}
+17 -3
View File
@@ -37,10 +37,24 @@ body {
.content { margin-left: 0; }
}
form {
align-content: center;
.rundbg {
display: flex;
justify-content: center;
flex-direction: column;
max-width: 30%;
margin:0 auto;
margin-top: 32px;
background-color:#7c7c7c;
padding: 16px;
border-radius: 20px;
gap: 16px;
input, button {
display: block;
padding: 16px;
font-size: 1.8rem;
}
}