Fix: Bot page layout issue (#19673)

* update pagelayout

* update layout
This commit is contained in:
Sweta Agarwalla 2025-02-05 12:49:23 +05:30 committed by GitHub
parent 6f67dfbe35
commit dba1fe9fd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,6 @@ const PageLayoutV1: FC<PageLayoutProp> = ({
{leftPanel}
</Col>
)}
<Col span={24}>
<Col
className={classNames(
`page-layout-v1-center page-layout-v1-vertical-scroll ${
@ -117,12 +116,12 @@ const PageLayoutV1: FC<PageLayoutProp> = ({
flex={contentWidth}
offset={center ? 3 : 0}
span={center ? 18 : 24}>
<Row gutter={0}>
<Col id={`${alert && 'page-alert'}`} span={24}>
<Row>
{alert && (
<Col id="page-alert" span={24}>
<AlertBar message={alert.message} type={alert.type} />
)}
</Col>
)}
<Col className={`${alert && 'p-t-sm'}`} span={24}>
{children}
</Col>
@ -136,7 +135,6 @@ const PageLayoutV1: FC<PageLayoutProp> = ({
{rightPanel}
</Col>
)}
</Col>
</Row>
</Fragment>
);