Skip to content

Commit

Permalink
fix(wizard): prevent footer from covering dropdown
Browse files Browse the repository at this point in the history
The z-index was set to 20 to prevent the language indicator for code sample from showing, but this caused other things to be hidden.

Since the language tag has a z-index of 2, we can make the footer have a z-index of 5 so it covers the language tag, but doesn't cover a dropdown
  • Loading branch information
stnguyen90 committed Jul 26, 2024
1 parent e876dff commit c54f627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/layout/wizard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
<svelte:component this={component} />
{/if}
{/each}
<div class="u-z-index-20 form-footer">
<div class="u-z-index-5 form-footer">
<div class="u-flex u-main-end u-gap-12">
{#if !isLastStep && currentStep?.optional}
<Button text on:click={() => dispatch('finish')}>
Expand Down

0 comments on commit c54f627

Please sign in to comment.