Skip to content
Snippets Groups Projects
Commit 30d9f831 authored by Maz Ameli's avatar Maz Ameli
Browse files

fix spacing of drill through actions

parent 9f3e6637
Branches
Tags
No related merge requests found
/* @flow */
import React, { Component } from "react";
import cx from 'classnames'
import Icon from "metabase/components/Icon";
import Popover from "metabase/components/Popover";
......@@ -120,7 +121,7 @@ export default class ChartClickActions extends Component<*, Props, State> {
{ actions.map((action, index) =>
<div
key={index}
className="text-brand-hover px1 cursor-pointer"
className={cx("text-brand-hover cursor-pointer", { "pr2": index === actions.length - 1, "pr4": index != actions.length - 1})}
onClick={() => this.handleClickAction(action)}
>
{action.title}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment