Skip to content

Commit

Permalink
adding custom style for table count toolbar item
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Puzzo <jpuzzo@redhat.com>
  • Loading branch information
jpuzz0 committed Jan 23, 2025
1 parent 0134d64 commit d2a4440
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
.forklift-page__main-title {
padding-bottom: 0;
}

.forklift-page__toolbar-item__selected-count {
color: var(--pf-v5-global--Color--200);
margin-inline-start: auto;
align-self: center;
}
Original file line number Diff line number Diff line change
Expand Up @@ -421,11 +421,7 @@ export function StandardPage<T>({
</ToolbarToggleGroup>

{selectedCountLabel && (
<ToolbarItem
className="pf-v5-u-color-200"
align={{ default: 'alignRight' }}
alignSelf="center"
>
<ToolbarItem className="forklift-page__toolbar-item__selected-count">
{selectedCountLabel(selectedIds.length ?? 0)}
</ToolbarItem>
)}
Expand Down

0 comments on commit d2a4440

Please sign in to comment.