Merge pull request #484 from ONLYOFFICE/bugfix/bug-68590

Fixed bug 68590 Changed the cursor view
This commit is contained in:
Alexey Safronov 2024-06-14 12:07:18 +04:00 committed by GitHub
commit eeae89e79f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 5 deletions

View File

@ -216,7 +216,11 @@ const LinkRow = (props) => {
const textColor = disabled ? theme.text.disableColor : theme.text.color; const textColor = disabled ? theme.text.disableColor : theme.text.color;
return ( return (
<StyledLinkRow {...rest} isExpired={isExpired}> <StyledLinkRow
{...rest}
isArchiveFolder={isArchiveFolder}
isExpired={isExpired}
>
<Avatar <Avatar
size="min" size="min"
source={LinkReactSvgUrl} source={LinkReactSvgUrl}

View File

@ -73,11 +73,16 @@ const StyledLinkRow = styled.div`
gap: 12px; gap: 12px;
height: 100%; height: 100%;
background: ${(props) => props.theme.backgroundColor}; background: ${(props) => props.theme.backgroundColor};
${(props) =>
!props.isArchiveFolder &&
css`
cursor: pointer; cursor: pointer;
.icon-button_svg { .icon-button_svg {
cursor: pointer; cursor: pointer;
} }
`};
.create-link-icon { .create-link-icon {
display: flex; display: flex;