Skip to content

Commit

Permalink
prepend css fix, removed redundant css prop and example site fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-balfre committed Oct 5, 2022
1 parent c9e60ac commit 1f03fbb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/lib/Select.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,9 @@
{/if}
</span>
<slot name="prepend" />
<div class="prepend">
<slot name="prepend" />
</div>
<div class="value-container">
{#if hasValue}
Expand Down Expand Up @@ -832,7 +834,6 @@
--indicatorHeight: var(--chevron-height);
--indicatorWidth: var(--chevron-width);
--inputColor: var(--input-color);
--inputFontSize: var(--input-font-size);
--inputLeft: var(--input-left);
--inputLetterSpacing: var(--input-letter-spacing);
--inputMargin: var(--input-margin);
Expand Down Expand Up @@ -908,9 +909,11 @@
align-self: stretch;
}
.prepend,
.indicators {
display: flex;
flex-shrink: 0;
align-items: center;
}
input {
Expand Down
2 changes: 1 addition & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-static';
import adapter from '@sveltejs/adapter-auto';

/** @type {import('@sveltejs/kit').Config} */
const config = {
Expand Down

0 comments on commit 1f03fbb

Please sign in to comment.