Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONSOLE-2361: Convert Bootstrap utility class show to PF equivalent #9515

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -30,7 +30,7 @@ const DropdownOptionsItem: React.FC<DropdownOptionsItemProps> = ({ title, scale
{title}
<>
&nbsp;
<div className="co-resource-item__resource-api text-muted co-truncate show co-nowrap small">
<div className="co-resource-item__resource-api text-muted co-truncate pf-u-display-block co-nowrap small">
{scale}
</div>
</>
Expand Down
Expand Up @@ -32,9 +32,9 @@ const DropdownItem: React.FC<DropdownItemProps> = ({ model, name, namespace }) =
<span className="co-resource-item__resource-name">
<span>{name}</span>
{namespace && (
<span className="text-muted co-truncate show co-nowrap small co-resource-item__resource-namespace">
<div className="text-muted co-truncate co-nowrap small co-resource-item__resource-namespace">
{namespace}
</span>
</div>
)}
</span>
</span>
Expand Down
4 changes: 2 additions & 2 deletions frontend/public/components/resource-dropdown.tsx
Expand Up @@ -90,9 +90,9 @@ const ResourceListDropdown_: React.SFC<ResourceListDropdownProps> = (props) => {
)}
</span>
{isDup(model.kind) && (
<span className="co-resource-item__resource-api text-muted co-truncate show co-nowrap small">
<div className="co-resource-item__resource-api text-muted co-truncate co-nowrap small">
{model.apiGroup || 'core'}/{model.apiVersion}
</span>
</div>
)}
</span>
</span>
Expand Down
4 changes: 2 additions & 2 deletions frontend/public/components/search.tsx
Expand Up @@ -199,9 +199,9 @@ const SearchPage_: React.FC<SearchProps> = (props) => {
return (
<span className="co-search-group__accordion-label">
{labelPluralKey ? t(labelPluralKey) : labelPlural}{' '}
<span className="text-muted show small">
<div className="text-muted small">
{apiGroup || 'core'}/{apiVersion}
</span>
</div>
</span>
);
};
Expand Down
1 change: 1 addition & 0 deletions frontend/public/vendor.scss
Expand Up @@ -42,6 +42,7 @@
@import "~@patternfly/patternfly/components/NotificationDrawer/notification-drawer";
@import "~@patternfly/patternfly/components/Toolbar/toolbar";
@import "~@patternfly/patternfly/utilities/Alignment/alignment";
@import "~@patternfly/patternfly/utilities/Display/display";
@import "~@patternfly/patternfly/utilities/Sizing/sizing";
@import "~@patternfly/patternfly/patternfly-charts";

Expand Down