Skip to content

Commit

Permalink
fix: small comment updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jongomez committed Oct 17, 2023
1 parent 1200b33 commit 917ffb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/lsd-react/src/components/Calendar/YearControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 917ffb0

Please sign in to comment.