mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 07:46:31 +08:00
fix: update responsive breakpoint and adjust divider visibility in banner component
This commit is contained in:
parent
cc02b78aca
commit
337abc536b
@ -25,7 +25,7 @@ type BannerItemProps = {
|
|||||||
isPaused?: boolean
|
isPaused?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
const RESPONSIVE_BREAKPOINT = 1280
|
const RESPONSIVE_BREAKPOINT = 1200
|
||||||
const MAX_RESPONSIVE_WIDTH = 600
|
const MAX_RESPONSIVE_WIDTH = 600
|
||||||
const INDICATOR_WIDTH = 20
|
const INDICATOR_WIDTH = 20
|
||||||
const INDICATOR_GAP = 8
|
const INDICATOR_GAP = 8
|
||||||
@ -177,7 +177,7 @@ export const BannerItem: FC<BannerItemProps> = ({ banner, autoplayDelay, isPause
|
|||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
<div className="hidden h-[1px] flex-1 bg-divider-regular 2xl:block" />
|
<div className="hidden h-[1px] flex-1 bg-divider-regular min-[1380px]:block" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user