Merge pull request #467 from ONLYOFFICE/bugfix/fix-ios-files-select
Fix Bug 68201 - Mobile: fixed select
This commit is contained in:
commit
5349164deb
@ -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")};
|
||||
`}
|
||||
}
|
||||
|
||||
|
@ -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 && (
|
||||
|
Loading…
Reference in New Issue
Block a user