diff --git a/app/scenes/Document/components/Document.tsx b/app/scenes/Document/components/Document.tsx index f8b56caada..bf6fa13bca 100644 --- a/app/scenes/Document/components/Document.tsx +++ b/app/scenes/Document/components/Document.tsx @@ -36,7 +36,6 @@ import DocumentPublish from "~/scenes/DocumentPublish"; import Branding from "~/components/Branding"; import ConnectionStatus from "~/components/ConnectionStatus"; import ErrorBoundary from "~/components/ErrorBoundary"; -import Flex from "~/components/Flex"; import LoadingIndicator from "~/components/LoadingIndicator"; import PageTitle from "~/components/PageTitle"; import PlaceholderDocument from "~/components/PlaceholderDocument"; @@ -504,9 +503,6 @@ class DocumentScene extends React.Component { onSave={this.onSave} headings={this.headings} /> - - - { showContents={showContents} tocPosition={tocPos} > + + + {document.icon && ( )} {document.title} - {document.isArchived && ( - {t("Archived")} - )} + {document.isArchived && {t("Archived")}} } actions={ @@ -387,10 +385,6 @@ const StyledHeader = styled(Header)<{ $hidden: boolean }>` ${(props) => props.$hidden && "opacity: 0;"} `; -const ArchivedBadge = styled(Badge)` - position: absolute; -`; - const Status = styled(Action)` padding-left: 0; padding-right: 4px;