diff --git a/README.md b/README.md index 343d234..3ca6f91 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ import 'react-accessible-accordion/dist/fancy-example.css'; We recommend that you copy them into your own app and modify them to suit your needs, particularly if you're using your own `className`s. -The accordian trigger is built using native button elements which have default +The accordion trigger is built using native button elements which have default browser styling, this can be overridden in your stylesheet. ## Component API diff --git a/demo/src/main.css b/demo/src/main.css index 19a08a4..b3a4701 100644 --- a/demo/src/main.css +++ b/demo/src/main.css @@ -139,7 +139,7 @@ footer { padding: 10px 0; color: var(--colorPageLinks); background-color: transparent; - font: 16px/1.5 sans-serif; + font: inherit; font-weight: bold; border: none; text-decoration: underline solid var(--colorGreenShadow); diff --git a/src/components/AccordionItemButton.tsx b/src/components/AccordionItemButton.tsx index 7d0cb92..1c36e7b 100644 --- a/src/components/AccordionItemButton.tsx +++ b/src/components/AccordionItemButton.tsx @@ -79,7 +79,6 @@ const AccordionItemButton = ({