enhance Timezone Component with Box Shadow (#8582)

Co-authored-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
sumit shinde ( Roni ) 2023-05-06 03:08:19 +05:30 committed by GitHub
parent 7611d5c24e
commit bc38b3bc55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,6 +87,7 @@ export function TimezoneSelect({
menu: (state) =>
classNames(
"rounded-md bg-default text-sm leading-4 text-default mt-1 border border-subtle",
state.selectProps.menuIsOpen && "shadow-dropdown", // Add box-shadow when menu is open
timezoneClassNames?.menu && timezoneClassNames.menu(state)
),
groupHeading: () => "leading-none text-xs uppercase text-default pl-2.5 pt-4 pb-2",