Fix Canvas display above banner follow up (#12707)
This commit is contained in:
@ -4,7 +4,6 @@ import { Button } from 'twenty-ui/input';
|
|||||||
|
|
||||||
const StyledBanner = styled(Banner)`
|
const StyledBanner = styled(Banner)`
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1;
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledText = styled.div`
|
const StyledText = styled.div`
|
||||||
|
|||||||
@ -11,6 +11,11 @@ import { useRecordShowContainerTabs } from '@/object-record/record-show/hooks/us
|
|||||||
import { recordStoreFamilySelector } from '@/object-record/record-store/states/selectors/recordStoreFamilySelector';
|
import { recordStoreFamilySelector } from '@/object-record/record-store/states/selectors/recordStoreFamilySelector';
|
||||||
import { ShowPageSubContainer } from '@/ui/layout/show-page/components/ShowPageSubContainer';
|
import { ShowPageSubContainer } from '@/ui/layout/show-page/components/ShowPageSubContainer';
|
||||||
import { useRecoilValue } from 'recoil';
|
import { useRecoilValue } from 'recoil';
|
||||||
|
import styled from '@emotion/styled';
|
||||||
|
|
||||||
|
const StyledShowPageBannerContainer = styled.div`
|
||||||
|
z-index: 1;
|
||||||
|
`;
|
||||||
|
|
||||||
type RecordShowContainerProps = {
|
type RecordShowContainerProps = {
|
||||||
objectNameSingular: string;
|
objectNameSingular: string;
|
||||||
@ -55,10 +60,12 @@ export const RecordShowContainer = ({
|
|||||||
recordId={objectRecordId}
|
recordId={objectRecordId}
|
||||||
/>
|
/>
|
||||||
{recordDeletedAt && (
|
{recordDeletedAt && (
|
||||||
<InformationBannerDeletedRecord
|
<StyledShowPageBannerContainer>
|
||||||
recordId={objectRecordId}
|
<InformationBannerDeletedRecord
|
||||||
objectNameSingular={objectNameSingular}
|
recordId={objectRecordId}
|
||||||
/>
|
objectNameSingular={objectNameSingular}
|
||||||
|
/>
|
||||||
|
</StyledShowPageBannerContainer>
|
||||||
)}
|
)}
|
||||||
<ShowPageContainer>
|
<ShowPageContainer>
|
||||||
<ShowPageSubContainer
|
<ShowPageSubContainer
|
||||||
|
|||||||
Reference in New Issue
Block a user