fix: improve focus/selected style on library authoring (#1918)
Improves the focus and selected styles from the LibraryPage and UnitPage.
This commit is contained in:
@@ -18,6 +18,7 @@ const SortableItem = ({
|
||||
isClickable,
|
||||
onClick,
|
||||
disabled,
|
||||
cardClassName = '',
|
||||
// injected
|
||||
intl,
|
||||
}) => {
|
||||
@@ -52,7 +53,7 @@ const SortableItem = ({
|
||||
>
|
||||
<Card
|
||||
style={style}
|
||||
className="mx-0"
|
||||
className={`mx-0 ${cardClassName}`}
|
||||
isClickable={isClickable}
|
||||
>
|
||||
<ActionRow style={actionStyle}>
|
||||
@@ -94,6 +95,7 @@ SortableItem.propTypes = {
|
||||
isClickable: PropTypes.bool,
|
||||
onClick: PropTypes.func,
|
||||
disabled: PropTypes.bool,
|
||||
cardClassName: PropTypes.string,
|
||||
// injected
|
||||
intl: intlShape.isRequired,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user