fix(widget-markdown): headings dropdown not showing properly no firefox (#3903)

This commit is contained in:
stefanprobst 2020-06-15 14:01:52 +02:00 committed by GitHub
parent 6a8d389751
commit 2b01e009c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,6 +170,7 @@ export default class Toolbar extends React.Component {
{Object.keys(headingOptions).some(isVisible) && (
<ToolbarDropdownWrapper>
<Dropdown
dropdownWidth="max-content"
dropdownTopOverlap="36px"
renderButton={() => (
<DropdownButton>