fix: dropdown of coinmarketcap widget

This commit is contained in:
Heng-Yi Wu 2024-06-05 15:30:51 +08:00
parent 35dd7ec230
commit 78456d7dc0
No known key found for this signature in database
GPG Key ID: 3A63404431B91B99

View File

@ -65,7 +65,7 @@ export default function Component({ service }) {
return ( return (
<Container service={service}> <Container service={service}>
<div className={classNames(service.description ? "-top-10" : "-top-8", "absolute right-1")}> <div className={classNames(service.description ? "-top-10" : "-top-8", "absolute right-1 z-20")}>
<Dropdown options={dateRangeOptions} value={dateRange} setValue={setDateRange} /> <Dropdown options={dateRangeOptions} value={dateRange} setValue={setDateRange} />
</div> </div>