Skip to content

Commit

Permalink
fix: input css
Browse files Browse the repository at this point in the history
  • Loading branch information
si3nloong committed Dec 14, 2021
1 parent eeb6402 commit 6e3eae9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions components/input/src/Input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@
outline: none;
border: none;
flex: auto;
&:-webkit-autofill,
&:-webkit-autofill:focus {
transition: background-color 600000s 0s, color 600000s 0s;
}
}
&--sm {
Expand Down
2 changes: 1 addition & 1 deletion components/input/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface InputProps {
name?: string;
type?: string;
label?: string;
sizeOf?: "sm" | "md" | "lg";
autocomplete?: "on" | "off";
placeholder?: string;
disabled?: boolean;
readonly?: boolean;
Expand Down

0 comments on commit 6e3eae9

Please sign in to comment.