mirror of https://github.com/acid-info/lsd.git
fix: small comment updates
This commit is contained in:
parent
aece48d2d2
commit
957e1cbd20
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue