Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
KATIETOLER committed Oct 16, 2024
1 parent 57aaa3c commit efc5982
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/holocene/code-block.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
<div
bind:this={editor}
role="textbox"
class={`inline min-w-[80px] cursor-text rounded-xl ${className} ${
class={`inline min-w-[80px] cursor-text rounded-xl outline-none ${className} ${
editable ? 'editable' : 'readOnly'
}`}
class:inline
Expand Down
1 change: 0 additions & 1 deletion src/lib/holocene/combobox/combobox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
export let label: string;
export let multiselect = false;
export let value: string | string[] = multiselect ? [] : undefined;
export let toggleLabel: string;
export let noResultsText: string;
export let disabled = false;
export let labelHidden = false;
Expand Down
4 changes: 3 additions & 1 deletion src/lib/holocene/input/input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@
let inputRef: HTMLInputElement | null = null;
function handleFocus() {
inputRef?.focus();
if (autoFocus && !disabled) {
inputRef?.focus();
}
}
const dispatch = createEventDispatcher();
Expand Down

0 comments on commit efc5982

Please sign in to comment.