The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix Canvas display above banner follow up (#12707)
martmullc16b625752fe
diff --git a/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsx b/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsxindex 5a0cd69d543..58393041319 100644--- a/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsx+++ b/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsx@@ -4,7 +4,6 @@ import { Button } from 'twenty-ui/input';const StyledBanner = styled(Banner)`position: absolute;- z-index: 1;`;const StyledText = styled.div`diff --git a/packages/twenty-front/src/modules/object-record/record-show/components/RecordShowContainer.tsx b/packages/twenty-front/src/modules/object-record/record-show/components/RecordShowContainer.tsxindex 0c14f8320c8..b03a1c066f0 100644--- a/packages/twenty-front/src/modules/object-record/record-show/components/RecordShowContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-show/components/RecordShowContainer.tsx@@ -11,6 +11,11 @@ import { useRecordShowContainerTabs } from '@/object-record/record-show/hooks/usimport { recordStoreFamilySelector } from '@/object-record/record-store/states/selectors/recordStoreFamilySelector';import { ShowPageSubContainer } from '@/ui/layout/show-page/components/ShowPageSubContainer';import { useRecoilValue } from 'recoil';+import styled from '@emotion/styled';++const StyledShowPageBannerContainer = styled.div`+ z-index: 1;+`;type RecordShowContainerProps = {objectNameSingular: string;@@ -55,10 +60,12 @@ export const RecordShowContainer = ({recordId={objectRecordId}/>{recordDeletedAt && (- <InformationBannerDeletedRecord- recordId={objectRecordId}- objectNameSingular={objectNameSingular}- />+ <StyledShowPageBannerContainer>+ <InformationBannerDeletedRecord+ recordId={objectRecordId}+ objectNameSingular={objectNameSingular}+ />+ </StyledShowPageBannerContainer>)}<ShowPageContainer><ShowPageSubContainer