-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bridge-ui): responsive design, memo, style updates, navbar chang…
…es (#396) * eth button * navbar * nav + width * nav * navbar top margin * scacle * viewport * reactivity for input and btns * memo * svelte toast * memo changes * toast tests
- Loading branch information
1 parent
2d45b9c
commit 742ddcb
Showing
18 changed files
with
212 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<script lang="ts"> | ||
export let memo: string = ""; | ||
let showMemo: boolean = true; | ||
function onChange(e: any) { | ||
showMemo = e.target.checked; | ||
} | ||
</script> | ||
|
||
<div class="form-control mb-2"> | ||
<label class="label cursor-pointer"> | ||
<span class="label-text">Memo</span> | ||
<input | ||
type="checkbox" | ||
class="toggle rounded-full" | ||
on:change={onChange} | ||
bind:checked={showMemo} | ||
/> | ||
</label> | ||
|
||
{#if showMemo} | ||
<input | ||
type="text" | ||
placeholder="Memo..." | ||
class="input input-primary bg-dark-4 input-md md:input-lg w-full" | ||
name="memo" | ||
bind:value={memo} | ||
/> | ||
{/if} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.