Skip to content

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

import { connect } from 'react-redux';
import { Panel } from 'react-bootstrap';
import visMap from '../../../visualizations/main';
require('../../../visualizations/directed_force.css');
Copy link

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

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 First shipped in 0.12.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants