Compare commits
No commits in common. "0a18da80c239acdf9d074b605934b55af1ded908" and "61cfc1bedcd48145c3b776f70d4c74b5eacb83d6" have entirely different histories.
0a18da80c2
...
61cfc1bedc
|
Before Width: | Height: | Size: 703 KiB After Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 3.8 MiB |
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 6.1 MiB |
|
Before Width: | Height: | Size: 350 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 268 KiB After Width: | Height: | Size: 750 KiB |
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 329 KiB |
|
Before Width: | Height: | Size: 747 KiB After Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 451 KiB After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 718 KiB After Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 227 KiB After Width: | Height: | Size: 745 KiB |
|
Before Width: | Height: | Size: 233 KiB After Width: | Height: | Size: 668 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 578 KiB |
|
|
@ -2,14 +2,6 @@ const backdrop = document.querySelector("#image-backdrop");
|
|||
const preview = document.querySelector("#image-preview");
|
||||
|
||||
if (backdrop instanceof HTMLElement && preview instanceof HTMLImageElement) {
|
||||
|
||||
document.addEventListener("keydown", (event) => {
|
||||
if (event.key === "Escape") {
|
||||
backdrop.hidden = true;
|
||||
document.body.style.overflow = "";
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener("click", (event) => {
|
||||
if (!(event.target instanceof Element)) return;
|
||||
|
||||
|
|
|
|||
|
|
@ -61,10 +61,7 @@ export default function RegisterForm() {
|
|||
required
|
||||
/>
|
||||
</div>
|
||||
<div style={{
|
||||
display: 'flex',
|
||||
alignItems: 'center'
|
||||
}}>
|
||||
<div>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={user.subscription}
|
||||
|
|
@ -75,6 +72,7 @@ export default function RegisterForm() {
|
|||
<span style="font-size: 0.8rem">Du kannst deine Daten jederzeit löschen oder die E-Mail Benachrichtigung deaktivieren.</span>
|
||||
{error && <p style={{ color: 'red' }}>{error}</p>}
|
||||
</form>
|
||||
|
||||
<style>{`
|
||||
input[type=checkbox] {
|
||||
margin-top: 12px;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,5 @@ import Form from "../layouts/Form.astro";
|
|||
>
|
||||
<UserDetails client:load />
|
||||
<ToggleSubscription client:load />
|
||||
<br />
|
||||
<DeleteUser client:load />
|
||||
</Form>
|
||||
|
|
@ -80,8 +80,7 @@ body {
|
|||
background-color: var(--primary-dark);
|
||||
}
|
||||
|
||||
input[type=name],
|
||||
input[type=email] {
|
||||
input[type=name], input[type=email] {
|
||||
border: none;
|
||||
background-color: #e9e9e9;
|
||||
padding: 4px;
|
||||
|
|
@ -144,9 +143,4 @@ input[type=checkbox] {
|
|||
.back-btn:hover {
|
||||
color: var(--primary-dark);
|
||||
}
|
||||
|
||||
input[type=checkbox] {
|
||||
margin: 0 6px 0 0 !important;
|
||||
zoom: 2;
|
||||
}
|
||||
}
|
||||