Skip to content

Commit

Permalink
small, but center-ish type icons
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Oct 25, 2021
1 parent eccecb1 commit 416e237
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.kbnReporting {
&__reportListing {
&__typeIcon {
padding-left: $euiSizeS;
}
}
}
15 changes: 9 additions & 6 deletions x-pack/plugins/reporting/public/management/report_listing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import {
ReportInfoFlyout,
} from './components';
import { guessAppIconTypeFromObjectType } from './utils';
import './report_listing.scss';

type TableColumn = EuiBasicTableColumn<Job>;

Expand Down Expand Up @@ -295,12 +296,14 @@ class ReportListingUi extends Component<Props, State> {
}),
render: (_type: string, job) => {
return (
<EuiIconTip
type={guessAppIconTypeFromObjectType(job.objectType)}
size="l"
data-test-subj="reportJobType"
content={job.objectType}
/>
<div className="kbnReporting__reportListing__typeIcon">
<EuiIconTip
type={guessAppIconTypeFromObjectType(job.objectType)}
size="s"
data-test-subj="reportJobType"
content={job.objectType}
/>
</div>
);
},
mobileOptions: {
Expand Down

0 comments on commit 416e237

Please sign in to comment.