diff --git a/src/lib/components/secondaryTabsItem.svelte b/src/lib/components/secondaryTabsItem.svelte index 3a87b01d7..6b8a06524 100644 --- a/src/lib/components/secondaryTabsItem.svelte +++ b/src/lib/components/secondaryTabsItem.svelte @@ -13,7 +13,8 @@ class="secondary-tabs-button" class:u-width-full-line={fullWidth} class:u-text-center={center} - disabled> + disabled + type="button"> {:else} @@ -30,6 +31,7 @@ class="secondary-tabs-button" class:u-width-full-line={fullWidth} class:u-text-center={center} + type="button" {disabled} on:click> diff --git a/src/routes/console/project-[project]/rawVariableEditor.svelte b/src/routes/console/project-[project]/rawVariableEditor.svelte index 540f7ea21..aef7b8844 100644 --- a/src/routes/console/project-[project]/rawVariableEditor.svelte +++ b/src/routes/console/project-[project]/rawVariableEditor.svelte @@ -1,5 +1,6 @@ - - - (tab = 'env')} - class="secondary-tabs-button u-width-full-line u-text-center" - disabled={tab === 'env'}>ENV - - - (tab = 'json')} - class="secondary-tabs-button u-width-full-line u-text-center" - disabled={tab === 'json'}>JSON - - + + (tab = 'env')} + disabled={tab === 'env'}> + ENV + + (tab = 'json')} + disabled={tab === 'json'}> + JSON + + - {#if tab === 'env'} - - {:else if tab === 'json'} - - {/if} - - - + + {#if tab === 'env'} + + {:else if tab === 'json'} + + {/if} + - Download .{tab} file. + + Download .{tab} file. + @@ -185,7 +199,7 @@ (showEditor = false)}>Cancel - Save + Save @@ -193,9 +207,5 @@ .editor-border { border: solid 0.0625rem hsl(var(--color-border)); border-radius: var(--border-radius-small); - - textarea { - border-radius: var(--border-radius-small); - } }