Skip to content

Commit

Permalink
remove console.log & fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
OliwiaGowor committed Sep 2, 2024
1 parent ccb6218 commit 9e4d6b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/resources/LimitRanges/LimitRangeSpecification.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.limit-range-spec {
&.compact {
margin: 0 !important;
margin: 0 0 1rem 0 !important;
padding-right: 0.5rem;
}
text-transform: capitalize;
Expand Down
5 changes: 2 additions & 3 deletions src/resources/LimitRanges/LimitRangeSpecification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export default function LimitRangeSpecification({
});
});

console.log(transformed.flat());
return transformed.flat();
}, [resource]);

Expand Down Expand Up @@ -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'),
Expand All @@ -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,
Expand Down

0 comments on commit 9e4d6b0

Please sign in to comment.