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