Skip to content

Commit 5aaeffe

Browse files
committed
ui update
1 parent a41599d commit 5aaeffe

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

x-pack/plugins/cloud_security_posture/public/pages/rules/rules_table.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* 2.0.
66
*/
77
import React, { useEffect, useMemo, useState } from 'react';
8-
import { css } from '@emotion/react';
98
import {
109
Criteria,
1110
EuiButtonEmpty,
@@ -222,7 +221,7 @@ const getColumns = ({
222221
name: i18n.translate('xpack.csp.rules.rulesTable.ruleNumberColumnLabel', {
223222
defaultMessage: 'Rule Number',
224223
}),
225-
width: '15%',
224+
width: '100px',
226225
sortable: true,
227226
},
228227
{
@@ -258,7 +257,8 @@ const getColumns = ({
258257
name: i18n.translate('xpack.csp.rules.rulesTable.mutedColumnLabel', {
259258
defaultMessage: 'Enabled',
260259
}),
261-
width: '65px',
260+
align: 'right',
261+
width: '100px',
262262
truncateText: true,
263263
render: (name, rule: CspBenchmarkRulesWithStates) => {
264264
const rulesObjectRequest = {
@@ -287,9 +287,6 @@ const getColumns = ({
287287
data-test-subj={RULES_ROWS_ENABLE_SWITCH_BUTTON}
288288
label=""
289289
compressed={true}
290-
css={css`
291-
padding-left: 18px;
292-
`}
293290
/>
294291
</EuiFlexItem>
295292
</EuiFlexGroup>

0 commit comments

Comments
 (0)