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:
Rômulo Penido
2025-05-09 13:05:03 -03:00
committed by GitHub
parent e8463f7a6a
commit cc47616256
8 changed files with 94 additions and 24 deletions

View File

@@ -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,
};