fix(style): use --app-banner-height in scroller container

This commit is contained in:
jialin
2026-05-21 19:58:16 +08:00
committed by jialin
parent e7a376db70
commit 6f896b4f94
11 changed files with 68 additions and 32 deletions
@@ -331,7 +331,9 @@ const ClusterCreate: React.FC<{
)}
<ColumnWrapper
maxHeight={
isAddWorkerStep ? 'calc(100vh - 200px)' : 'calc(100vh - 150px)'
isAddWorkerStep
? 'calc(100vh - var(--app-banner-height, 0px) - 200px)'
: 'calc(100vh - var(--app-banner-height, 0px) - 150px)'
}
styles={{
container: { paddingTop: 16, paddingBottom: 16 }