Merge branch 'release/v1.1.0' of github.com:ONLYOFFICE/AppServer into release/v1.1.0

This commit is contained in:
Tatiana Lopaeva 2021-12-07 13:11:56 +03:00
commit 3586548859
2 changed files with 15 additions and 2 deletions

View File

@ -4,6 +4,7 @@ import ModalDialogContainer from "../ModalDialogContainer";
import ModalDialog from "@appserver/components/modal-dialog";
import Button from "@appserver/components/button";
import Text from "@appserver/components/text";
import LinkWithDropdown from "@appserver/components/link-with-dropdown";
import Row from "@appserver/components/row";
import RowContent from "@appserver/components/row-content";
import RowContainer from "@appserver/components/row-container";
@ -451,9 +452,17 @@ class DownloadDialogComponent extends React.Component {
{folder.title}
</Text>
<></>
<Text fontSize="12px" containerWidth="auto" noSelect>
<LinkWithDropdown
className="link-other-formats"
containerMinWidth="fit-content"
data={[]}
directionX="left"
directionY="bottom"
dropdownType="appearDashedAfterHover"
fontSize="12px"
>
{folder.fileExst && t("OriginalFormat")}
</Text>
</LinkWithDropdown>
</RowContent>
</Row>
);

View File

@ -20,6 +20,10 @@ const ModalDialogContainer = styled(ModalDialog)`
margin-top: 16px;
}
.link-other-formats {
pointer-events: none;
}
.button-dialog {
display: inline-block;
margin-left: 8px;