1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2024-12-01 13:20:54 +00:00
This commit is contained in:
Romein van Buren 2023-01-16 20:07:56 +01:00
parent e0cda5cccb
commit ff2be60066
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
2 changed files with 13 additions and 3 deletions

View File

@ -73,7 +73,9 @@
<label class="field"> <label class="field">
<input type="text" spellcheck="false" bind:value={newDb.name} use:input placeholder="New collection name" bind:this={newDbInput} /> <input type="text" spellcheck="false" bind:value={newDb.name} use:input placeholder="New collection name" bind:this={newDbInput} />
</label> </label>
<button class="btn create" type="submit">Create database</button> <p>
<button class="btn create" type="submit" disabled={!newDb.name?.trim()}>Create database</button>
</p>
</form> </form>
</Modal> </Modal>
{/if} {/if}
@ -86,7 +88,9 @@
<label class="field"> <label class="field">
<input type="text" spellcheck="false" bind:value={newColl.name} use:input placeholder="New collection name" bind:this={newCollInput} /> <input type="text" spellcheck="false" bind:value={newColl.name} use:input placeholder="New collection name" bind:this={newCollInput} />
</label> </label>
<button class="btn create" type="submit">Create collection</button> <p>
<button class="btn create" type="submit" disabled={!newColl.name?.trim()}>Create collection</button>
</p>
</form> </form>
</Modal> </Modal>
{/if} {/if}

View File

@ -28,7 +28,13 @@ body {
} }
p { p {
margin: 0 0 0.7rem 0; margin: 1rem 0;
}
p:first-child {
margin-top: 0;
}
p:last-child {
margin-bottom: 0;
} }
p strong { p strong {
font-weight: 700; font-weight: 700;