Web:Client:Section: fix badges for row view
This commit is contained in:
parent
156b192c90
commit
d87d87c6b3
@ -76,7 +76,7 @@ const SimpleFilesRowContent = styled(RowContent)`
|
||||
|
||||
.new-items {
|
||||
min-width: 16px;
|
||||
margin: 7px 22px 0 0;
|
||||
margin: 7px 24px 0 0;
|
||||
}
|
||||
`}
|
||||
`;
|
||||
|
@ -158,11 +158,20 @@ const StyledSimpleFilesRow = styled(Row)`
|
||||
}
|
||||
|
||||
.badges {
|
||||
margin-top: ${(props) => (props.isSmallContainer ? "0px" : "3px")};
|
||||
margin-bottom: 0px;
|
||||
|
||||
${(props) =>
|
||||
props.isSmallContainer &&
|
||||
css`
|
||||
.tablet-pinned {
|
||||
margin-top: 2px;
|
||||
}
|
||||
`}
|
||||
}
|
||||
|
||||
.badge {
|
||||
margin-right: 24px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.lock-file {
|
||||
@ -281,6 +290,7 @@ const SimpleFilesRow = (props) => {
|
||||
showHotkeyBorder={showHotkeyBorder}
|
||||
isRoom={item.isRoom}
|
||||
isDragOver={isDragOver}
|
||||
isSmallContainer={isSmallContainer}
|
||||
>
|
||||
<FilesRowContent
|
||||
item={item}
|
||||
|
Loading…
Reference in New Issue
Block a user