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

Fixed css class not being used by slice container #1359

Merged
merged 3 commits into from Oct 24, 2016

Conversation

vera-liu
Copy link
Contributor

@vera-liu vera-liu commented Oct 15, 2016

The className was not specified in slice container earlier, causing specific viz css files not being used.

Before:
before2

After:
screen shot 2016-10-15 at 11 44 51 am

Before:
before3

After:
screen shot 2016-10-15 at 5 02 54 pm

Before:
before4

After:
screen shot 2016-10-15 at 5 11 31 pm

@ascott

@@ -2,6 +2,7 @@ import React, { PropTypes } from 'react';
import { connect } from 'react-redux';
import { Panel } from 'react-bootstrap';
import visMap from '../../../visualizations/main';
require('../../../visualizations/directed_force.css');
Copy link
Contributor

Choose a reason for hiding this comment

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

can we include this css only in the visualization files that need it rather than in this component?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Turned out this line does not need to be used at all when className is specified :)
Deleted it!

@ascott
Copy link
Contributor

ascott commented Oct 24, 2016

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants