Skip to content

Commit 640df66

Browse files
committed
Re-add fontSize styling which was causing grid height bugs in #133691 (comment)
1 parent d1c4cf0 commit 640df66

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
.alertsTableActiveRow {
22
background-color: tintOrShade($euiColorLightShade, 50%, 0);
33
}
4-
.alertsTableResponseOps .euiDataGridRowCell {
5-
font-size: $euiFontSizeXS;
6-
}

x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/alerts_table.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const AlertsFlyout = lazy(() => import('./alerts_flyout'));
2929
const GridStyles: EuiDataGridStyle = {
3030
border: 'none',
3131
header: 'underline',
32+
fontSize: 's',
3233
};
3334

3435
const AlertsTable: React.FunctionComponent<AlertsTableProps> = (props: AlertsTableProps) => {
@@ -174,11 +175,7 @@ const AlertsTable: React.FunctionComponent<AlertsTableProps> = (props: AlertsTab
174175
);
175176

176177
return (
177-
<section
178-
className="alertsTableResponseOps"
179-
style={{ width: '100%' }}
180-
data-test-subj={props['data-test-subj']}
181-
>
178+
<section style={{ width: '100%' }} data-test-subj={props['data-test-subj']}>
182179
<Suspense fallback={null}>
183180
{flyoutAlertIndex > -1 && (
184181
<AlertsFlyout

0 commit comments

Comments
 (0)