Skip to content

Commit

Permalink
Import the style.scss so that the popover menu items are rendered cor…
Browse files Browse the repository at this point in the history
…rectly (#55676)

After the popover component was moved in #55238 the menu items in the domain section (and probably elsewhere) didn't render correctly.
  • Loading branch information
hambai authored Aug 24, 2021
1 parent 7800e73 commit 4dedccf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/components/popover-menu/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { Popover } from '@automattic/components';
import PropTypes from 'prop-types';
import React, { Component } from 'react';

import './style.scss';

const isInvalidTarget = ( target ) => {
return target.tagName === 'HR';
};
Expand Down Expand Up @@ -73,6 +75,7 @@ class PopoverMenu extends Component {
ref={ this.menu }
id={ id }
role="menu"
// eslint-disable-next-line wpcalypso/jsx-classname-namespace
className="popover__menu"
onKeyDown={ this._onKeyDown }
tabIndex="-1"
Expand Down

0 comments on commit 4dedccf

Please sign in to comment.