forked from Mastodon/mastoradio-la-radio-di-mastodon
add submit button on settings page
This commit is contained in:
parent
9ca2b42cfc
commit
0b8c8ea31d
|
@ -1,7 +1,7 @@
|
|||
<button class="header__sideBtn" on:click={() => openPage()}>Settings</button>
|
||||
<Portal target="{document.body}">
|
||||
<ContextPage name="Settings" open={open} on:close={closePage}>
|
||||
<div class="settings">
|
||||
<form class="settings">
|
||||
<div class="settings-line">
|
||||
<div class="settings-side">
|
||||
<div class="settings-side__title">Instance</div>
|
||||
|
@ -40,7 +40,8 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn--primary w100">Save the changes</button>
|
||||
</form>
|
||||
</ContextPage>
|
||||
</Portal>
|
||||
|
||||
|
@ -49,7 +50,7 @@
|
|||
import ContextPage from '/components/ContextPage'
|
||||
import Tags from "svelte-tags-input";
|
||||
|
||||
let open = true
|
||||
let open = false
|
||||
|
||||
let openPage = () => {
|
||||
open = true
|
||||
|
|
Loading…
Reference in New Issue