const { hotspot } = props;
const { message, rule } = hotspot;
return (
- <div className="big-spacer-bottom">
+ <div className="huge-spacer-bottom">
<div className="display-flex-column big-spacer-bottom">
<div className="big text-bold">{message}</div>
<div>
transition: padding 0s, border 0s;
}
+a.hotspot-item:focus {
+ color: var(--baseFontColor);
+}
+
.hotspot-item:hover {
background-color: var(--veryLightBlue);
border: 1px dashed var(--blue);
import classNames from 'classnames';
import * as React from 'react';
import QualifierIcon from '../../../components/icons/QualifierIcon';
+import LocationsList from '../../../components/locations/LocationsList';
import { ComponentQualifier } from '../../../types/component';
-import { getFilePath, getLocations } from '../utils';
import { RawHotspot } from '../../../types/security-hotspots';
-import LocationsList from '../../../components/locations/LocationsList';
+import { getFilePath, getLocations } from '../utils';
export interface HotspotListItemProps {
hotspot: RawHotspot;
exports[`should render correctly 1`] = `
<div
- className="big-spacer-bottom"
+ className="huge-spacer-bottom"
>
<div
className="display-flex-column big-spacer-bottom"
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import classNames from 'classnames';
import * as React from 'react';
import { Button } from '../../../../components/controls/buttons';
import { DropdownOverlay } from '../../../../components/controls/Dropdown';
</DropdownOverlay>
}>
<Button
- className={classNames('dropdown-toggle')}
+ className="dropdown-toggle big-spacer-left"
id="status-trigger"
onClick={() => setIsOpen(true)}
disabled={readonly}>
}
>
<Button
- className="dropdown-toggle"
+ className="dropdown-toggle big-spacer-left"
disabled={false}
id="status-trigger"
onClick={[Function]}
}
>
<Button
- className="dropdown-toggle"
+ className="dropdown-toggle big-spacer-left"
disabled={false}
id="status-trigger"
onClick={[Function]}
}
>
<Button
- className="dropdown-toggle"
+ className="dropdown-toggle big-spacer-left"
disabled={true}
id="status-trigger"
onClick={[Function]}