Skip to content

Commit

Permalink
Convert Bootstrap utility class small to PF equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
sg00dwin committed Jul 14, 2021
1 parent a11715c commit 5995db0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
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,7 +32,7 @@ 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">
<span className="text-muted co-truncate pf-u-display-block co-nowrap small co-resource-item__resource-namespace">
{namespace}
</span>
)}
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/components/resource-dropdown.tsx
Expand Up @@ -90,7 +90,7 @@ 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">
<span className="co-resource-item__resource-api text-muted co-truncate pf-u-display-block co-nowrap small">
{model.apiGroup || 'core'}/{model.apiVersion}
</span>
)}
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/components/search.tsx
Expand Up @@ -199,7 +199,7 @@ const SearchPage_: React.FC<SearchProps> = (props) => {
return (
<span className="co-search-group__accordion-label">
{labelPluralKey ? t(labelPluralKey) : labelPlural}{' '}
<span className="text-muted show small">
<span className="text-muted pf-u-display-block small">
{apiGroup || 'core'}/{apiVersion}
</span>
</span>
Expand Down
1 change: 1 addition & 0 deletions frontend/public/vendor.scss
Expand Up @@ -51,6 +51,7 @@
@import "~@patternfly/patternfly/components/NotificationBadge/notification-badge";
@import "~@patternfly/patternfly/components/NotificationDrawer/notification-drawer";
@import "~@patternfly/patternfly/components/Toolbar/toolbar";
@import "~@patternfly/patternfly/utilities/Display/display";
@import "~@patternfly/patternfly/utilities/Sizing/sizing";
@import "~@patternfly/patternfly/patternfly-charts";

Expand Down

0 comments on commit 5995db0

Please sign in to comment.