last review apply

This commit is contained in:
Virginie Ky 2019-09-13 16:04:15 +02:00
parent c21f9272f6
commit 4f9065f19e
3 changed files with 5 additions and 2 deletions

View File

@ -57,7 +57,7 @@ function TableHeader({ headers, isBulkable }) {
}
}}
>
<span>
<span className={header.sortable ? 'sortable' : ''}>
{header.label}
{sortBy === header.name && (
<Icon

View File

@ -32,7 +32,9 @@ const Thead = styled.thead`
vertical-align: middle !important;
> span {
position: relative;
cursor: pointer;
&.sortable {
cursor: pointer;
}
}
}
${({ isBulkable }) => {

View File

@ -145,6 +145,7 @@ const MediaPreviewImage = styled(MediaPreviewItem)`
border-radius: calc(${sizes.big} / 2);
margin-top: calc(-${sizes.big} - ${sizes.small} - 5px);
margin-left: calc((-${sizes.big} + ${sizes.small}) / 2);
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.05);
}
&.hoverable {