Skip to content

Commit

Permalink
fixed small styles for report plugin (#1172)
Browse files Browse the repository at this point in the history
Co-authored-by: Smit Nick <[email protected]>
  • Loading branch information
smitfire and Smit Nick authored Oct 24, 2022
1 parent 398dc0a commit 55068a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/shared/components/AnalysisPlugin/AnalysisPlugin.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
.add-report-button {
margin-right: 0;
margin-left: auto;
margin-bottom: 6px;
display: flex;
span {
line-height: 1.5715;
Expand Down
6 changes: 3 additions & 3 deletions src/shared/components/AnalysisPlugin/AnalysisPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const AnalysisPlugin = ({
FileUpload,
imagePreviewScale,
mode,
selectedAnalysisReports,
currentlyBeingEditedAnalysisReportDescription,
currentlyBeingEditedAnalysisReportCategories,
currentlyBeingEditedAnalysisReportTypes,
Expand Down Expand Up @@ -420,7 +419,7 @@ const AnalysisPlugin = ({
onClickRelatedResource(containerId)
}
style={{
padding: '4px',
padding: '12px',
maxWidth: '230px',
overflow: 'hidden',
background: 'transparent',
Expand All @@ -442,8 +441,9 @@ const AnalysisPlugin = ({
aria-label="Open discussion on report resource"
icon={<MessageOutlined />}
style={{
maxWidth: '230px',
overflow: 'hidden',
background: 'transparent',
padding: '12px',
}}
onClick={() =>
analysisReport.id &&
Expand Down

0 comments on commit 55068a8

Please sign in to comment.