Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make margin width based on container width instead of slice width #5

Closed
wants to merge 3 commits into from

Conversation

jeffreythewang
Copy link

@jeffreythewang jeffreythewang commented Feb 26, 2018

Reviewing here before submitting upstream.

@fabianmenges @GeorgeSirois @JamshedRahman @harrietshin

@@ -18,6 +18,7 @@ import './nvd3_vis.css';
import { VIZ_TYPES } from './main';

const minBarWidth = 15;
const minMarginPad = 50;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should probably be called maxMarginPad and have a little comment of what it does.

@jeffreythewang jeffreythewang deleted the jeffreyw/fix-bar-width branch March 1, 2018 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants