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])
|
}, [changeYearMode])
|
||||||
|
|
||||||
|
// The following useEffect adds more years to the dropdown when
|
||||||
|
// users scroll to the top or bottom.
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const scrollHeight = scrollRef?.current?.scrollHeight
|
const scrollHeight = scrollRef?.current?.scrollHeight
|
||||||
const clientHeight = scrollRef?.current?.clientHeight
|
const clientHeight = scrollRef?.current?.clientHeight
|
||||||
|
|
|
@ -43,8 +43,8 @@ export const DateFieldStyles = css`
|
||||||
}
|
}
|
||||||
|
|
||||||
.${dateFieldClasses.inputContainer} {
|
.${dateFieldClasses.inputContainer} {
|
||||||
// Position relative allows the icons to be absolute positioned...
|
/* 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.
|
/* ... and the icons should be absolute positioned to be on top of the browser's default icons. */
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
Loading…
Reference in New Issue