Common: Navigation: fix
This commit is contained in:
parent
5050eb006c
commit
f4a1c64a6b
@ -251,7 +251,7 @@ const Navigation = ({
|
||||
isTrashFolder={isTrashFolder}
|
||||
/>
|
||||
</StyledContainer>
|
||||
{isTrashFolder && !isEmptyPage && (
|
||||
{isDesktop && isTrashFolder && !isEmptyPage && (
|
||||
<TrashWarning
|
||||
title={titles.trashWarning}
|
||||
isTabletView={isTabletView}
|
||||
|
@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import styled, { css } from "styled-components";
|
||||
import { tablet } from "@docspace/components/utils/device";
|
||||
|
||||
const StyledTrashWarning = styled.div`
|
||||
box-sizing: border-box;
|
||||
@ -19,6 +20,10 @@ const StyledTrashWarning = styled.div`
|
||||
color: ${({ theme }) => theme.section.header.trashErasureLabelText};
|
||||
background: ${({ theme }) =>
|
||||
theme.section.header.trashErasureLabelBackground};
|
||||
|
||||
@media ${tablet} {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
`;
|
||||
|
||||
const TrashWarning = ({ title }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user