diff --git a/src/resources/LimitRanges/LimitRangeSpecification.scss b/src/resources/LimitRanges/LimitRangeSpecification.scss index 59ddff66ad..aecbfb9f52 100644 --- a/src/resources/LimitRanges/LimitRangeSpecification.scss +++ b/src/resources/LimitRanges/LimitRangeSpecification.scss @@ -1,6 +1,6 @@ .limit-range-spec { &.compact { - margin: 0 !important; + margin: 0 0 1rem 0 !important; padding-right: 0.5rem; } text-transform: capitalize; diff --git a/src/resources/LimitRanges/LimitRangeSpecification.tsx b/src/resources/LimitRanges/LimitRangeSpecification.tsx index 706e128c07..44c0bd90de 100644 --- a/src/resources/LimitRanges/LimitRangeSpecification.tsx +++ b/src/resources/LimitRanges/LimitRangeSpecification.tsx @@ -80,7 +80,6 @@ export default function LimitRangeSpecification({ }); }); - console.log(transformed.flat()); return transformed.flat(); }, [resource]); @@ -120,7 +119,7 @@ export default function LimitRangeSpecification({ }, [resource]); const headerRenderer = () => [ - ...[isCompact ? t('limit-ranges.headers.type') : []], + isCompact ? t('limit-ranges.headers.type') : null, t('limit-ranges.headers.resource'), t('limit-ranges.headers.min'), t('limit-ranges.headers.max'), @@ -139,7 +138,7 @@ export default function LimitRangeSpecification({ maxLimitRequestRatio, }: FlatLimitProps) => { return [ - ...[isCompact ? type : []], + isCompact ? type : null, resource || EMPTY_TEXT_PLACEHOLDER, min || EMPTY_TEXT_PLACEHOLDER, max || EMPTY_TEXT_PLACEHOLDER,