mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-20 22:00:43 +08:00
Improve app layout
This commit is contained in:
@@ -9,9 +9,11 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
<main>
|
||||
<input size="40" type="text" bind:value={input} placeholder="Enter a name, address or domain..." />
|
||||
<button class="primary" on:click={search} disabled={!input}>
|
||||
Search
|
||||
</button>
|
||||
<main class="centered">
|
||||
<div>
|
||||
<input size="40" type="text" bind:value={input} placeholder="Enter a name, address or domain..." />
|
||||
<button class="primary" on:click={search} disabled={!input}>
|
||||
Search
|
||||
</button>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<style>
|
||||
main {
|
||||
width: 100%;
|
||||
padding: 0 3rem;
|
||||
padding: 5rem 3rem;
|
||||
display: block;
|
||||
align-items: space-between;
|
||||
justify-content: space-between;
|
||||
@@ -43,14 +43,20 @@
|
||||
margin: 3rem;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.loading {
|
||||
padding: 3rem 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<main>
|
||||
{#await Org.getAll(config)}
|
||||
<Loading center />
|
||||
<div class="loading">
|
||||
<Loading center />
|
||||
</div>
|
||||
{:then orgs}
|
||||
<header>
|
||||
<span><strong>Orgs</strong> on the Radicle network.</span>
|
||||
<span><strong>Orgs</strong> of the Radicle network.</span>
|
||||
<button class="create small secondary" on:click={onCreate} disabled={!account}>
|
||||
Create
|
||||
</button>
|
||||
|
||||
@@ -50,6 +50,9 @@
|
||||
</script>
|
||||
|
||||
<style>
|
||||
main {
|
||||
padding: 5rem 0;
|
||||
}
|
||||
main > header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -14,10 +14,6 @@
|
||||
</script>
|
||||
|
||||
<style>
|
||||
main {
|
||||
padding-top: 2rem;
|
||||
align-self: center;
|
||||
}
|
||||
div.input-caption {
|
||||
font-size: 1.25rem;
|
||||
text-align: left;
|
||||
@@ -37,7 +33,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<main>
|
||||
<main class="centered">
|
||||
<div class="input-caption">
|
||||
Register a <strong>{config.registrar.domain}</strong> name
|
||||
</div>
|
||||
|
||||
@@ -83,6 +83,9 @@
|
||||
</script>
|
||||
|
||||
<style>
|
||||
main {
|
||||
padding: 5rem 0;
|
||||
}
|
||||
main > header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<main>
|
||||
<main class="centered">
|
||||
{#if info}
|
||||
<Modal>
|
||||
<span slot="title">
|
||||
|
||||
Reference in New Issue
Block a user