Skip to content

Commit

Permalink
Merge pull request #185 from catenax-ng/feat/803/CustomAccordionBgCol…
Browse files Browse the repository at this point in the history
…orChanges

feat(custom accordion): change background color on hover and focus
  • Loading branch information
oyo authored May 21, 2024
2 parents 16d7462 + cf3b278 commit 668bddb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.0.11

- Change background color on hover and focus in custom accordion

## 3.0.10

- Fixed editing input field in vertical table
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@catena-x/portal-shared-components",
"version": "3.0.10",
"version": "3.0.11",
"description": "Catena-X Portal Shared Components",
"author": "Catena-X Contributors",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions src/components/basic/CustomAccordion/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ export const CustomAccordionItem = ({
sx={{
bgcolor: color,
':hover': {
bgcolor: 'background.background12',
bgcolor: color ?? 'background.background12',
},
':focus': {
boxShadow: 'none !important',
bgcolor: 'background.background12',
bgcolor: color ?? 'background.background12',
},
}}
>
Expand Down

0 comments on commit 668bddb

Please sign in to comment.