Skip to content

Commit

Permalink
ui update
Browse files Browse the repository at this point in the history
  • Loading branch information
animehart committed Jan 24, 2024
1 parent a41599d commit 5aaeffe
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* 2.0.
*/
import React, { useEffect, useMemo, useState } from 'react';
import { css } from '@emotion/react';
import {
Criteria,
EuiButtonEmpty,
Expand Down Expand Up @@ -222,7 +221,7 @@ const getColumns = ({
name: i18n.translate('xpack.csp.rules.rulesTable.ruleNumberColumnLabel', {
defaultMessage: 'Rule Number',
}),
width: '15%',
width: '100px',
sortable: true,
},
{
Expand Down Expand Up @@ -258,7 +257,8 @@ const getColumns = ({
name: i18n.translate('xpack.csp.rules.rulesTable.mutedColumnLabel', {
defaultMessage: 'Enabled',
}),
width: '65px',
align: 'right',
width: '100px',
truncateText: true,
render: (name, rule: CspBenchmarkRulesWithStates) => {
const rulesObjectRequest = {
Expand Down Expand Up @@ -287,9 +287,6 @@ const getColumns = ({
data-test-subj={RULES_ROWS_ENABLE_SWITCH_BUTTON}
label=""
compressed={true}
css={css`
padding-left: 18px;
`}
/>
</EuiFlexItem>
</EuiFlexGroup>
Expand Down

0 comments on commit 5aaeffe

Please sign in to comment.