Skip to content

Commit

Permalink
tabindex and style adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Kimmel committed Apr 15, 2020
1 parent dbc8714 commit 35c2bf5
Showing 1 changed file with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,33 @@ const nodeAssets = {

const ChildEventsButton = () => {
return (
<EuiButton onClick={() => {}} color="ghost" size="s" iconType="arrowDown" iconSide="right">
<EuiButton
onClick={(clickEvent: React.MouseEvent<HTMLButtonElement, MouseEvent>) => {
clickEvent.preventDefault();
clickEvent.stopPropagation();
}}
color="ghost"
size="s"
iconType="arrowDown"
iconSide="right"
tabIndex={-1}
>
Events
</EuiButton>
);
};

const RelatedAlertsButton = () => {
return (
<EuiButton onClick={() => {}} color="ghost" size="s">
<EuiButton
onClick={(clickEvent: React.MouseEvent<HTMLButtonElement, MouseEvent>) => {
clickEvent.preventDefault();
clickEvent.stopPropagation();
}}
color="ghost"
size="s"
tabIndex={-1}
>
Related Alerts
</EuiButton>
);
Expand Down Expand Up @@ -361,6 +379,8 @@ export const ProcessEventDot = styled(
white-space: nowrap;
will-change: left, top, width, height;
contain: strict;
min-width: 280px;
min-height: 90px;
//dasharray & dashoffset should be equal to "pull" the stroke back
//when it is transitioned.
Expand Down

0 comments on commit 35c2bf5

Please sign in to comment.