Skip to content

Commit

Permalink
fix(editable): hover and focus states for title text (#1484)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcshzj authored Sep 7, 2023
1 parent 5470322 commit 95b478e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/layouts/components/Editable/Editable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ const DraggableAccordionItem = ({
<Flex
pt={isNested ? "0.375rem" : "1.88rem"}
pb={!isExpanded && !isNested ? "0.88rem" : "0rem"}
role="group"
data-group
_hover={{
bgColor: getDraggableAccordionItemStyle({
item: "hover-bgColor",
Expand Down Expand Up @@ -433,6 +433,9 @@ const DraggableAccordionItem = ({
isInvalid,
}),
}}
_groupFocus={{
color: "base.content.strong",
}}
>
{title}
</Text>
Expand Down

0 comments on commit 95b478e

Please sign in to comment.