Merge pull request #467 from ONLYOFFICE/bugfix/fix-ios-files-select

Fix Bug 68201 - Mobile: fixed select
This commit is contained in:
Ilya Oleshko 2024-06-07 14:22:22 +03:00 committed by GitHub
commit 5349164deb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 4 deletions

View File

@ -222,14 +222,14 @@ const StyledTile = styled.div`
.file-checkbox {
display: ${(props) => (props.checked ? "flex" : "none")};
flex: 0 0 16px;
margin-top: 8px;
padding-top: 8px;
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
margin-right: ${(props) => (props.isFolder ? "8px" : "7px")};
padding-right: ${(props) => (props.isFolder ? "8px" : "7px")};
`
: css`
margin-left: ${(props) => (props.isFolder ? "8px" : "7px")};
padding-left: ${(props) => (props.isFolder ? "8px" : "7px")};
`}
}

View File

@ -31,6 +31,7 @@ import { Base } from "../../themes";
import { Text } from "../text";
import { IconButton } from "../icon-button";
import { classNames } from "../../utils";
const StyledIcon = styled.div<{
size: string;
@ -199,7 +200,11 @@ const RoomIcon = ({
<Text className="room-title">{roomTitle}</Text>
</>
) : (
<img className={imgClassName} src={imgSrc} alt="room icon" />
<img
className={classNames([imgClassName, "not-selectable"])}
src={imgSrc}
alt="room icon"
/>
)}
{badgeUrl && (