fix: small comment updates

This commit is contained in:
jongomez 2023-10-18 00:20:50 +01:00 committed by Jon
parent aece48d2d2
commit 957e1cbd20
2 changed files with 4 additions and 2 deletions

View File

@ -58,6 +58,8 @@ export const YearControl: FC<YearControlProps> = ({
}
}, [changeYearMode])
// The following useEffect adds more years to the dropdown when
// users scroll to the top or bottom.
useEffect(() => {
const scrollHeight = scrollRef?.current?.scrollHeight
const clientHeight = scrollRef?.current?.clientHeight

View File

@ -43,8 +43,8 @@ export const DateFieldStyles = css`
}
.${dateFieldClasses.inputContainer} {
// Position relative allows the icons to be absolute positioned...
// ... and the icons should be absolute positioned to be on top of the browser's default icons.
/* Position relative allows the icons to be absolute positioned... */
/* ... and the icons should be absolute positioned to be on top of the browser's default icons. */
position: relative;
display: flex;
align-items: center;