File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ export function ShortInput({ onChange }: { onChange: (value: string) => void })
22 return (
33 < span
44 contentEditable
5- className = "border border-zinc-300 dark:border-zinc-600 min-w-16 h-auto inline-block "
5+ className = "border border-zinc-300 dark:border-zinc-600 h-auto px-2 "
66 onInput = { e => onChange ( ( e . target as HTMLDivElement ) . innerText ) }
7- >
8-
9- </ span >
7+ />
108 ) ;
119}
Original file line number Diff line number Diff line change 99 < script type ="module " src ="./Page.tsx " async > </ script >
1010 < style >
1111 : root {
12- --background : hsl (0 0% 100% );
12+ --background : hsla (0 0% 100% );
1313 }
1414 .dark {
15- --background : hsl (240 10% 3.9% );
15+ --background : hsla (240 10% 3.9% );
1616 }
1717 body {
1818 background-color : var (--background );
Original file line number Diff line number Diff line change @@ -16,9 +16,11 @@ export function Exercises() {
1616 < ul >
1717 { exercises . map ( exercise => (
1818 < li key = { exercise } >
19- < Button value = { exercise } size = "sm" >
20- < a href = { `/exercise/${ exercise } ` } > { exercise } </ a >
21- </ Button >
19+ < a href = { `/exercise/${ exercise } ` } >
20+ < Button value = { exercise } size = "sm" className = "cursor-pointer" >
21+ { exercise }
22+ </ Button >
23+ </ a >
2224 </ li >
2325 ) ) }
2426 </ ul >
Original file line number Diff line number Diff line change 11import type { Equal , Expect } from '@type-challenges/utils' ;
22
3- type SimpleRecord < /* SHORT_INPUT */ > =
4- /* LONG_INPUT */ ;
3+ type SimpleRecord < /* SHORT_INPUT */ > = {
4+ /* LONG_INPUT */ } ;
55
66/* Test Cases */
77
You can’t perform that action at this time.
0 commit comments