Paragon 10: Updating Dropdown and Button usages. (#187)

* Updating Dropdown and Button.

* Fixing broken tests and test warnings.

* Remove comment block.

* Using variant=“link” on the Tabs Dropdown.Toggle.

* Fixing some merge conflicts.
This commit is contained in:
David Joy
2020-08-20 13:46:44 -04:00
committed by GitHub
parent 707fcc2aa1
commit 86d28136de
15 changed files with 65 additions and 32 deletions

View File

@@ -37,13 +37,13 @@ export default function Tabs({ children, className, ...attrs }) {
key="overflow"
>
<Dropdown>
<Dropdown.Button className="nav-link font-weight-normal">
<Dropdown.Toggle variant="link" className="nav-link font-weight-normal">
<FormattedMessage
id="learn.course.tabs.navigation.overflow.menu"
description="The title of the overflow menu for course tabs"
defaultMessage="More..."
/>
</Dropdown.Button>
</Dropdown.Toggle>
<Dropdown.Menu className="dropdown-menu-right">{overflowChildren}</Dropdown.Menu>
</Dropdown>
</div>