Paddings when no configs
This commit is contained in:
parent
de5042253f
commit
e3c560e0c0
|
@ -65,21 +65,23 @@
|
||||||
Basic (Username & Password Authentication)
|
Basic (Username & Password Authentication)
|
||||||
</Body>
|
</Body>
|
||||||
|
|
||||||
<div class="auth-options">
|
{#if authConfigs.length}
|
||||||
<ActionGroup vertical compact>
|
<div class="auth-options">
|
||||||
<!-- Hack to first config margin to not work as expected -->
|
<ActionGroup vertical compact>
|
||||||
<div class="spectrum-ActionGroup-item hidden" />
|
<!-- Hack to first config margin to not work as expected -->
|
||||||
{#each authConfigs as config}
|
<div class="spectrum-ActionGroup-item hidden" />
|
||||||
<ActionButton
|
{#each authConfigs as config}
|
||||||
on:click={() => selectConfiguration(config.value)}
|
<ActionButton
|
||||||
selected={config.value === authConfigId}
|
on:click={() => selectConfiguration(config.value)}
|
||||||
accentColor="#066CE7"
|
selected={config.value === authConfigId}
|
||||||
>
|
accentColor="#066CE7"
|
||||||
{config.label}
|
>
|
||||||
</ActionButton>
|
{config.label}
|
||||||
{/each}
|
</ActionButton>
|
||||||
</ActionGroup>
|
{/each}
|
||||||
</div>
|
</ActionGroup>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
<div>
|
<div>
|
||||||
<Button secondary icon="Add" on:click={addBasicConfiguration}
|
<Button secondary icon="Add" on:click={addBasicConfiguration}
|
||||||
>Add Basic</Button
|
>Add Basic</Button
|
||||||
|
|
Loading…
Reference in New Issue