Fixed style name errors

This commit is contained in:
Shay Nehmad 2019-08-28 11:04:50 +03:00
parent 9538c3f0e6
commit 04005b14d7
4 changed files with 5 additions and 11 deletions

View File

@ -13,7 +13,7 @@ const columns = [
const pillarLabels = pillars.map((pillar) =>
<PillarLabel key={pillar.name} pillar={pillar.name} status={pillar.status}/>
);
return <div style={{"text-align": "center"}}>{pillarLabels}</div>;
return <div style={{textAlign: "center"}}>{pillarLabels}</div>;
},
maxWidth: 200,
style: {'whiteSpace': 'unset'}

View File

@ -35,7 +35,7 @@ class ZeroTrustReportLegend extends Component {
with the tests results.
</p>
<h4>Statuses</h4>
<ul style={{"list-style": "none"}}>
<ul style={{listStyle: "none"}}>
<li>
<div style={{display: "inline-block"}}>
<StatusLabel showText={true} status={ZeroTrustStatuses.conclusive}/>

View File

@ -15,7 +15,7 @@ export default class SinglePillarRecommendationsStatus extends AuthComponent {
<Panel>
<Panel.Heading>
<Panel.Title toggle>
<h3 style={{"text-align": "center", "margin-top": "1px", "margin-bottom": "1px"}}>
<h3 style={{textAlign: "center", marginTop: "1px", marginBottom: "1px"}}>
<i className="fa fa-chevron-down" /> <PillarLabel pillar={this.props.pillar} status={this.props.pillarsToStatuses[this.props.pillar]} />
</h3>
</Panel.Title>

View File

@ -35,14 +35,8 @@ class VennDiagram extends React.Component {
People: {cx: -this.width2By7, cy: 0, r: this.sixthWidth, offset: {x: this.width1By11, y: 0}, popover: 'right'},
Networks: {cx: this.width2By7, cy: 0, r: this.sixthWidth, offset: {x: -this.width1By11, y: 0}, popover: 'left'},
Devices: {cx: 0, cy: this.width2By7, r: this.sixthWidth, offset: {x: 0, y: -this.width1By11}, popover: 'top'},
Workloads: {
cx: 0,
cy: -this.width2By7,
r: this.sixthWidth,
offset: {x: 0, y: this.width1By11},
popover: 'bottom'
},
VisibilityAndAnalytics: {inner: this.thirdWidth - this.width1By28, outer: this.thirdWidth, popover: 'left'},
Workloads: {cx: 0, cy: -this.width2By7, r: this.sixthWidth, offset: {x: 0, y: this.width1By11}, popover: 'bottom'},
VisibilityAndAnalytics: {inner: this.thirdWidth - this.width1By28, outer: this.thirdWidth, popover: 'right'},
AutomationAndOrchestration: {
inner: this.thirdWidth - this.width1By28 * 2 - this.arcNodesGap,
outer: this.thirdWidth - this.width1By28 - this.arcNodesGap,