Skip to content

Commit 88c9a64

Browse files
committed
CONSOLE-4462: Remove unstyled class text-uppercase
1 parent 48b7797 commit 88c9a64

File tree

7 files changed

+28
-36
lines changed

7 files changed

+28
-36
lines changed

frontend/packages/console-app/src/components/nodes/NodeDetailsOverview.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const NodeDetailsOverview: React.FC<NodeDetailsOverviewProps> = ({ node }) => {
151151
<dt>{t('console-app~OS image')}</dt>
152152
<dd>{_.get(node, 'status.nodeInfo.osImage', '-')}</dd>
153153
<dt>{t('console-app~Architecture')}</dt>
154-
<dd className="text-uppercase">{_.get(node, 'status.nodeInfo.architecture', '-')}</dd>
154+
<dd>{_.get(node, 'status.nodeInfo.architecture', '-')}</dd>
155155
<dt>{t('console-app~Kernel version')}</dt>
156156
<dd>{_.get(node, 'status.nodeInfo.kernelVersion', '-')}</dd>
157157
<dt>{t('console-app~Boot ID')}</dt>

frontend/packages/operator-lifecycle-manager/src/components/descriptors/spec/match-expressions.tsx

+6-6
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const MatchExpression: React.FC<MatchExpressionProps> = ({
2929
return (
3030
<div className="row key-operator-value__row">
3131
<div className="col-md-4 col-xs-5 key-operator-value__name-field">
32-
<div className="key-operator-value__heading hidden-md hidden-lg text-secondary text-uppercase">
32+
<div className="key-operator-value__heading hidden-md hidden-lg text-secondary">
3333
{t('olm~Key')}
3434
</div>
3535
<span className="pf-v6-c-form-control">
@@ -41,7 +41,7 @@ const MatchExpression: React.FC<MatchExpressionProps> = ({
4141
</span>
4242
</div>
4343
<div className="col-md-3 col-xs-5 key-operator-value__operator-field">
44-
<div className="key-operator-value__heading hidden-md hidden-lg text-secondary text-uppercase">
44+
<div className="key-operator-value__heading hidden-md hidden-lg text-secondary">
4545
{t('olm~Operator')}
4646
</div>
4747
<Dropdown
@@ -53,7 +53,7 @@ const MatchExpression: React.FC<MatchExpressionProps> = ({
5353
/>
5454
</div>
5555
<div className="col-md-3 col-xs-5 key-operator-value__value-field key-operator-value__value-field--stacked">
56-
<div className="key-operator-value__heading hidden-md hidden-lg text-secondary text-uppercase">
56+
<div className="key-operator-value__heading hidden-md hidden-lg text-secondary">
5757
{t('olm~Values')}
5858
</div>
5959
<span
@@ -110,9 +110,9 @@ export const MatchExpressions: React.FC<MatchExpressionsProps> = ({
110110
return (
111111
<>
112112
<div className="row key-operator-value__heading hidden-sm hidden-xs">
113-
<div className="col-md-4 text-secondary text-uppercase">{t('olm~Key')}</div>
114-
<div className="col-md-3 text-secondary text-uppercase">{t('olm~Operator')}</div>
115-
<div className="col-md-3 text-secondary text-uppercase">{t('olm~Values')}</div>
113+
<div className="col-md-4 text-secondary">{t('olm~Key')}</div>
114+
<div className="col-md-3 text-secondary">{t('olm~Operator')}</div>
115+
<div className="col-md-3 text-secondary">{t('olm~Values')}</div>
116116
</div>
117117
{matchExpressions.map((expression, index) => (
118118
// Have to use array index in the key bc any other unique id whould have to use editable fields.

frontend/packages/operator-lifecycle-manager/src/components/descriptors/spec/resource-requirements.tsx

+3-11
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ export const ResourceRequirements: React.FC<ResourceRequirementsProps> = (props)
2121
return (
2222
<div className="row co-m-form-row">
2323
<div className="col-xs-4">
24-
<label
25-
style={{ fontWeight: 300 }}
26-
className="text-muted text-uppercase"
27-
htmlFor={`${path}.cpu`}
28-
>
24+
<label style={{ fontWeight: 300 }} className="text-muted" htmlFor={`${path}.cpu`}>
2925
{t('olm~CPU cores')}
3026
</label>
3127
<span className="pf-v6-c-form-control">
@@ -40,11 +36,7 @@ export const ResourceRequirements: React.FC<ResourceRequirementsProps> = (props)
4036
</span>
4137
</div>
4238
<div className="col-xs-4">
43-
<label
44-
style={{ fontWeight: 300 }}
45-
className="text-muted text-uppercase"
46-
htmlFor={`${path}.memory`}
47-
>
39+
<label style={{ fontWeight: 300 }} className="text-muted" htmlFor={`${path}.memory`}>
4840
{t('olm~Memory')}
4941
</label>
5042
<span className="pf-v6-c-form-control">
@@ -61,7 +53,7 @@ export const ResourceRequirements: React.FC<ResourceRequirementsProps> = (props)
6153
<div className="col-xs-4">
6254
<label
6355
style={{ fontWeight: 300 }}
64-
className="text-muted text-uppercase"
56+
className="text-muted"
6557
htmlFor={`${path}.ephemeral-storage`}
6658
>
6759
{t('olm~Storage')}

frontend/public/components/modals/taints-modal.tsx

+6-6
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ const TaintsModal = withHandlePromise((props: TaintsModalProps) => {
7474
) : (
7575
<>
7676
<div className="row taint-modal__heading hidden-sm hidden-xs">
77-
<div className="col-sm-4 text-secondary text-uppercase">{t('public~Key')}</div>
78-
<div className="col-sm-3 text-secondary text-uppercase">{t('public~Value')}</div>
79-
<div className="col-sm-4 text-secondary text-uppercase">{t('public~Effect')}</div>
77+
<div className="col-sm-4 text-secondary">{t('public~Key')}</div>
78+
<div className="col-sm-3 text-secondary">{t('public~Value')}</div>
79+
<div className="col-sm-4 text-secondary">{t('public~Effect')}</div>
8080
<div className="col-sm-1 co-empty__header" />
8181
</div>
8282
{_.map(taints, (c, i) => (
8383
<div className="row taint-modal__row" key={i}>
8484
<div className="col-md-4 col-xs-5 taint-modal__field">
85-
<div className="taint-modal__heading hidden-md hidden-lg text-secondary text-uppercase">
85+
<div className="taint-modal__heading hidden-md hidden-lg text-secondary">
8686
{t('public~Key')}
8787
</div>
8888
<span className="pf-v6-c-form-control">
@@ -96,7 +96,7 @@ const TaintsModal = withHandlePromise((props: TaintsModalProps) => {
9696
</span>
9797
</div>
9898
<div className="col-md-3 col-xs-5 taint-modal__field">
99-
<div className="taint-modal__heading hidden-md hidden-lg text-secondary text-uppercase">
99+
<div className="taint-modal__heading hidden-md hidden-lg text-secondary">
100100
{t('public~Value')}
101101
</div>
102102
<span className="pf-v6-c-form-control">
@@ -105,7 +105,7 @@ const TaintsModal = withHandlePromise((props: TaintsModalProps) => {
105105
</div>
106106
<div className="clearfix visible-sm visible-xs" />
107107
<div className="col-md-4 col-xs-5 taint-modal__field">
108-
<div className="taint-modal__heading hidden-md hidden-lg text-secondary text-uppercase">
108+
<div className="taint-modal__heading hidden-md hidden-lg text-secondary">
109109
{t('public~Effect')}
110110
</div>
111111
<Dropdown

frontend/public/components/modals/tolerations-modal.tsx

+8-8
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ const TolerationsModal = withHandlePromise((props: TolerationsModalProps) => {
113113
) : (
114114
<>
115115
<div className="row toleration-modal__heading hidden-sm hidden-xs">
116-
<div className="col-md-4 text-secondary text-uppercase">{t('public~Key')}</div>
117-
<div className="col-md-2 text-secondary text-uppercase">{t('public~Operator')}</div>
118-
<div className="col-md-3 text-secondary text-uppercase">{t('public~Value')}</div>
119-
<div className="col-md-2 text-secondary text-uppercase">{t('public~Effect')}</div>
116+
<div className="col-md-4 text-secondary">{t('public~Key')}</div>
117+
<div className="col-md-2 text-secondary">{t('public~Operator')}</div>
118+
<div className="col-md-3 text-secondary">{t('public~Value')}</div>
119+
<div className="col-md-2 text-secondary">{t('public~Effect')}</div>
120120
<div className="col-md-1" />
121121
</div>
122122
{_.map(tolerations, (toleration, i) => {
@@ -126,7 +126,7 @@ const TolerationsModal = withHandlePromise((props: TolerationsModalProps) => {
126126
return (
127127
<div className="row toleration-modal__row" key={i}>
128128
<div className="col-md-4 col-sm-5 col-xs-5 toleration-modal__field">
129-
<div className="toleration-modal__heading hidden-md hidden-lg text-secondary text-uppercase">
129+
<div className="toleration-modal__heading hidden-md hidden-lg text-secondary">
130130
{t('public~Key')}
131131
</div>
132132
<span
@@ -143,7 +143,7 @@ const TolerationsModal = withHandlePromise((props: TolerationsModalProps) => {
143143
</span>
144144
</div>
145145
<div className="col-md-2 col-sm-5 col-xs-5 toleration-modal__field">
146-
<div className="toleration-modal__heading hidden-md hidden-lg text-secondary text-uppercase">
146+
<div className="toleration-modal__heading hidden-md hidden-lg text-secondary">
147147
{t('public~Operator')}
148148
</div>
149149
{isEditable(toleration) ? (
@@ -163,7 +163,7 @@ const TolerationsModal = withHandlePromise((props: TolerationsModalProps) => {
163163
</div>
164164
<div className="clearfix visible-sm visible-xs" />
165165
<div className="col-md-3 col-sm-5 col-xs-5 toleration-modal__field">
166-
<div className="toleration-modal__heading hidden-md hidden-lg text-secondary text-uppercase">
166+
<div className="toleration-modal__heading hidden-md hidden-lg text-secondary">
167167
{t('public~Value')}
168168
</div>
169169
<span
@@ -180,7 +180,7 @@ const TolerationsModal = withHandlePromise((props: TolerationsModalProps) => {
180180
</span>
181181
</div>
182182
<div className="col-md-2 col-sm-5 col-xs-5 toleration-modal__field">
183-
<div className="toleration-modal__heading hidden-md hidden-lg text-secondary text-uppercase">
183+
<div className="toleration-modal__heading hidden-md hidden-lg text-secondary">
184184
{t('public~Effect')}
185185
</div>
186186
{isEditable(toleration) ? (

frontend/public/components/sidebars/resource-sidebar-samples.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const ResourceSidebarSample: React.FC<ResourceSidebarSampleProps> = ({
2424
return (
2525
<li className="co-resource-sidebar-item">
2626
<Title headingLevel="h3" className="pf-v6-u-mb-sm">
27-
<span className="text-uppercase">{highlightText}</span> {title}
27+
<span>{highlightText}</span> {title}
2828
</Title>
2929
{img && <img src={img} className="co-resource-sidebar-item__img img-responsive" />}
3030
<p>{description}</p>
@@ -122,7 +122,7 @@ const ResourceSidebarSnippet: React.FC<ResourceSidebarSnippetProps> = ({
122122
return (
123123
<li className="co-resource-sidebar-item">
124124
<Title headingLevel="h3" className="pf-v6-u-mb-sm">
125-
<span className="text-uppercase">{highlightText}</span> {title}
125+
<span>{highlightText}</span> {title}
126126
</Title>
127127
<p>{description}</p>
128128
<Level>

frontend/public/components/utils/name-value-editor.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -311,10 +311,10 @@ const EnvFromEditor_ = withDragDropContext(
311311
<>
312312
<div className="row pairs-list__heading">
313313
{!readOnly && <div className="col-xs-1 co-empty__header" />}
314-
<div className="col-xs-5 text-secondary text-uppercase">
314+
<div className="col-xs-5 text-secondary">
315315
{firstTitle || t('public~ConfigMap/Secret')}
316316
</div>
317-
<div className="col-xs-5 text-secondary text-uppercase">
317+
<div className="col-xs-5 text-secondary">
318318
{secondTitle || t('public~Prefix (optional)')}
319319
</div>
320320
<div className="col-xs-1 co-empty__header" />

0 commit comments

Comments
 (0)