Compare commits
2 commits
61cfc1bedc
...
0a18da80c2
| Author | SHA1 | Date | |
|---|---|---|---|
| 0a18da80c2 | |||
| bb6c8ad993 |
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 703 KiB |
|
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 6.1 MiB After Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 350 KiB |
|
Before Width: | Height: | Size: 750 KiB After Width: | Height: | Size: 268 KiB |
|
Before Width: | Height: | Size: 329 KiB After Width: | Height: | Size: 103 KiB |
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 747 KiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 451 KiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 718 KiB |
|
Before Width: | Height: | Size: 745 KiB After Width: | Height: | Size: 227 KiB |
|
Before Width: | Height: | Size: 668 KiB After Width: | Height: | Size: 233 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 578 KiB After Width: | Height: | Size: 194 KiB |
|
|
@ -2,6 +2,14 @@ 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,7 +61,10 @@ export default function RegisterForm() {
|
|||
required
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<div style={{
|
||||
display: 'flex',
|
||||
alignItems: 'center'
|
||||
}}>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={user.subscription}
|
||||
|
|
@ -72,7 +75,6 @@ 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,5 +15,6 @@ import Form from "../layouts/Form.astro";
|
|||
>
|
||||
<UserDetails client:load />
|
||||
<ToggleSubscription client:load />
|
||||
<br />
|
||||
<DeleteUser client:load />
|
||||
</Form>
|
||||
|
|
@ -80,7 +80,8 @@ 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;
|
||||
|
|
@ -143,4 +144,9 @@ input[type=checkbox] {
|
|||
.back-btn:hover {
|
||||
color: var(--primary-dark);
|
||||
}
|
||||
|
||||
input[type=checkbox] {
|
||||
margin: 0 6px 0 0 !important;
|
||||
zoom: 2;
|
||||
}
|
||||
}
|
||||