File tree Expand file tree Collapse file tree
src/app/features/TimeEntries Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ interface GroupedTimeEntryRowProps {
1919}
2020
2121export const GroupedTimeEntryRow : React . FC < GroupedTimeEntryRowProps > = ( {
22- groupedTimeEntry : groupedTimeEntry ,
22+ groupedTimeEntry,
2323} ) => {
2424 const dispatch = useAppDispatch ( ) ;
2525 const [ isCollapsed , setIsCollapsed ] = useState ( true ) ;
Original file line number Diff line number Diff line change @@ -19,27 +19,31 @@ export const NewTimeEntry = () => {
1919 useKeyPress ( handleAddClick , [ "Enter" ] , ref ) ;
2020
2121 return (
22- < TopBarStyled className = "hover:border-neutral-200" ref = { ref } >
23- < div className = "flex-grow" >
24- < input
25- className = "w-full rounded-lg bg-neutral-100 px-3 py-2 text-lg font-medium text-neutral-800 focus:outline-none"
26- type = "text"
27- value = { text }
28- onChange = { ( e ) => setText ( e . target . value ) }
29- aria-label = "new entry text"
30- />
31- </ div >
32- < div className = "mr-2 text-green-400" >
33- < IconButton
34- onClick = { handleAddClick }
35- size = "large"
36- color = "inherit"
37- aria-label = "add entry"
38- disabled = { text === "" }
39- >
40- < AddIcon />
41- </ IconButton >
42- </ div >
43- </ TopBarStyled >
22+ < div
23+ className = { `rounded-lg border border-transparent bg-white transition-none` }
24+ >
25+ < TopBarStyled className = "hover:border-neutral-200" ref = { ref } >
26+ < div className = "flex-grow" >
27+ < input
28+ className = "w-full rounded-lg bg-neutral-100 px-3 py-2 text-lg font-medium text-neutral-800 focus:outline-none"
29+ type = "text"
30+ value = { text }
31+ onChange = { ( e ) => setText ( e . target . value ) }
32+ aria-label = "new entry text"
33+ />
34+ </ div >
35+ < div className = "mr-2 text-green-400" >
36+ < IconButton
37+ onClick = { handleAddClick }
38+ size = "large"
39+ color = "inherit"
40+ aria-label = "add entry"
41+ disabled = { text === "" }
42+ >
43+ < AddIcon />
44+ </ IconButton >
45+ </ div >
46+ </ TopBarStyled >
47+ </ div >
4448 ) ;
4549} ;
You can’t perform that action at this time.
0 commit comments