feat: removed margin from some buttons

This commit is contained in:
Arman committed 2022-11-07 17:30:45 +01:00
1 parent 5be81c4427
commit aa8f26fb1a
5 files changed
+12 -4

No files matched your search

@@ -140,6 +140,7 @@
<Button
text
noMargin
disabled={$work[attribute.key][$work[attribute.key].length - 1] === null}
on:click={() => addArrayItem(attribute.key)}>
<span class="icon-plus" aria-hidden="true" />
@@ -195,6 +195,7 @@
{/if}
<Button
text
noMargin
on:click={() => {
newAttr = true;
if (selectedAttribute && selectedOrder) {
@@ -203,7 +204,7 @@
}
}}>
<span class="icon-plus" aria-hidden="true" />
<span class="text"> Add attribute </span>
<span class="text">Add attribute</span>
</Button>
</FormList>
<svelte:fragment slot="footer">
@@ -58,6 +58,7 @@
{/each}
<Button
text
noMargin
disabled={$createDocument.document[attribute.key][
$createDocument.document[attribute.key].length - 1
] === null}
@@ -65,8 +65,13 @@
</div>
</div>
<Alert type="warning">
Tip: Avoid using wildcard hostnames in production to keep your project secure. Check out
our documentation for more info.
Using wildcard hostnames in production can become insecure. You can read about
<a
href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS"
target="_blank"
rel="noopener noreferrer"
class="link">
Cross-Origin Resource Sharing (CORS)</a> for more information.
</Alert>
</FormList>
</WizardStep>
@@ -44,7 +44,7 @@
{/each}
</TableList>
<div class="u-flex u-margin-block-start-16">
<Button text on:click={() => (showCreate = !showCreate)}>
<Button text noMargin on:click={() => (showCreate = !showCreate)}>
<span class="icon-plus" aria-hidden="true" />
<span class="u-text">Add event</span>
</Button>