Merge pull request #888 from ONLYOFFICE/bugfix/fixed-hotkeys-border
Web: Files: fixed hotkeys border
This commit is contained in:
commit
7208db2872
@ -50,7 +50,7 @@ const StyledRowContainer = styled(RowContainer)`
|
|||||||
.files-row {
|
.files-row {
|
||||||
border-top: ${(props) =>
|
border-top: ${(props) =>
|
||||||
`1px ${props.theme.filesSection.tableView.row.borderColor} solid`};
|
`1px ${props.theme.filesSection.tableView.row.borderColor} solid`};
|
||||||
margin-top: -3px;
|
margin-top: -1px;
|
||||||
${marginStyles}
|
${marginStyles}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -94,7 +94,7 @@ const FilesRowContainer = ({
|
|||||||
hasMoreFiles={hasMoreFiles}
|
hasMoreFiles={hasMoreFiles}
|
||||||
draggable
|
draggable
|
||||||
useReactWindow={!withPaging}
|
useReactWindow={!withPaging}
|
||||||
itemHeight={58}
|
itemHeight={59}
|
||||||
>
|
>
|
||||||
{filesList.map((item, index) => (
|
{filesList.map((item, index) => (
|
||||||
<SimpleFilesRow
|
<SimpleFilesRow
|
||||||
|
@ -39,7 +39,7 @@ const StyledWrapper = styled.div`
|
|||||||
const StyledSimpleFilesRow = styled(Row)`
|
const StyledSimpleFilesRow = styled(Row)`
|
||||||
${(props) => (props.checked || props.isActive) && checkedStyle};
|
${(props) => (props.checked || props.isActive) && checkedStyle};
|
||||||
${(props) => props.dragging && draggingStyle}
|
${(props) => props.dragging && draggingStyle}
|
||||||
height: 57px;
|
height: 56px;
|
||||||
|
|
||||||
${(props) =>
|
${(props) =>
|
||||||
!isMobile &&
|
!isMobile &&
|
||||||
@ -49,7 +49,7 @@ const StyledSimpleFilesRow = styled(Row)`
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
${checkedStyle}
|
${checkedStyle}
|
||||||
|
|
||||||
margin-top: -3px;
|
margin-top: -1px;
|
||||||
border-top: ${(props) =>
|
border-top: ${(props) =>
|
||||||
`1px ${props.theme.filesSection.tableView.row.borderColor} solid`};
|
`1px ${props.theme.filesSection.tableView.row.borderColor} solid`};
|
||||||
}
|
}
|
||||||
@ -67,13 +67,13 @@ const StyledSimpleFilesRow = styled(Row)`
|
|||||||
/* cursor: wait; */
|
/* cursor: wait; */
|
||||||
`}
|
`}
|
||||||
|
|
||||||
margin-top: -2px;
|
margin-top: 0px;
|
||||||
|
|
||||||
${(props) =>
|
${(props) =>
|
||||||
props.showHotkeyBorder &&
|
props.showHotkeyBorder &&
|
||||||
css`
|
css`
|
||||||
border-top: 1px solid #2da7db !important;
|
border-top: 1px solid #2da7db !important;
|
||||||
margin-top: -3px;
|
margin-top: -1px;
|
||||||
margin-left: -24px;
|
margin-left: -24px;
|
||||||
margin-right: -24px;
|
margin-right: -24px;
|
||||||
padding-left: 24px;
|
padding-left: 24px;
|
||||||
|
Loading…
Reference in New Issue
Block a user