Unverified Commit e9586eb5 authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub

Merge pull request #3726 from LLK/hotfix/reduce-report-vis

[Master] hotfix reduce report prominence
parents 5a47ed96 e43cb7ab
...@@ -29,6 +29,26 @@ const Subactions = props => ( ...@@ -29,6 +29,26 @@ const Subactions = props => (
{/* eslint-enable react/jsx-sort-props */} {/* eslint-enable react/jsx-sort-props */}
</div> </div>
<FlexRow className="action-buttons"> <FlexRow className="action-buttons">
{(props.canReport) &&
<React.Fragment>
<Button
className="action-button report-button"
key="report-button"
onClick={props.onReportClicked}
>
<FormattedMessage id="general.report" />
</Button>
{props.reportOpen && (
<ReportModal
isOpen
key="report-modal"
type="project"
onReport={props.onReportSubmit}
onRequestClose={props.onReportClose}
/>
)}
</React.Fragment>
}
{props.canAddToStudio && {props.canAddToStudio &&
<React.Fragment> <React.Fragment>
<Button <Button
...@@ -69,26 +89,6 @@ const Subactions = props => ( ...@@ -69,26 +89,6 @@ const Subactions = props => (
)} )}
</React.Fragment> </React.Fragment>
)} )}
{(props.canReport) &&
<React.Fragment>
<Button
className="action-button report-button"
key="report-button"
onClick={props.onReportClicked}
>
<FormattedMessage id="general.report" />
</Button>
{props.reportOpen && (
<ReportModal
isOpen
key="report-modal"
type="project"
onReport={props.onReportSubmit}
onRequestClose={props.onReportClose}
/>
)}
</React.Fragment>
}
</FlexRow> </FlexRow>
</FlexRow> </FlexRow>
); );
......
...@@ -88,8 +88,6 @@ ...@@ -88,8 +88,6 @@
} }
&.report-button { &.report-button {
background-color: $ui-coral;
&:before { &:before {
background-image: url("/svgs/project/report-white.svg"); background-image: url("/svgs/project/report-white.svg");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment