From 8b1988ac33d0ee2f30950f8192131f28cf307a56 Mon Sep 17 00:00:00 2001 From: toshusai Date: Wed, 12 Jun 2024 17:29:41 +0900 Subject: [PATCH] fix: unnecessary aria-selected --- .../src/components/DropdownSelector/DropdownMenuItem/index.css | 2 +- .../src/components/DropdownSelector/DropdownMenuItem/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/src/components/DropdownSelector/DropdownMenuItem/index.css b/packages/react/src/components/DropdownSelector/DropdownMenuItem/index.css index fc3c5d44e..6c3c8f3d6 100644 --- a/packages/react/src/components/DropdownSelector/DropdownMenuItem/index.css +++ b/packages/react/src/components/DropdownSelector/DropdownMenuItem/index.css @@ -10,7 +10,7 @@ margin-left: 20px; } -.charcoal-dropdown-selector-menu-item[aria-selected='true'] { +.charcoal-dropdown-selector-menu-item[data-selected='true'] { margin-left: 0px; } diff --git a/packages/react/src/components/DropdownSelector/DropdownMenuItem/index.tsx b/packages/react/src/components/DropdownSelector/DropdownMenuItem/index.tsx index 37e4ff1dc..9c021fadf 100644 --- a/packages/react/src/components/DropdownSelector/DropdownMenuItem/index.tsx +++ b/packages/react/src/components/DropdownSelector/DropdownMenuItem/index.tsx @@ -25,7 +25,7 @@ export default function DropdownMenuItem(props: DropdownMenuItemProps) { )} {props.children}