Skip to content

Commit 62f5e83

Browse files
devendraranadevendrafyle
authored andcommitted
fix: Fix the sentence casing in action_data (#4053)
1 parent 5524d4d commit 62f5e83

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/app/shared/components/comments-history/audit-history/statuses-diff/statuses-diff.component.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@
2222
}
2323
@if (shouldShowDetails() && !isValueList()) {
2424
<div>
25-
<li class="text-sentence-case">
26-
{{ key() === 'vehicle type' ? ('statusesDiff.mileageRateName' | transloco) : key() }} : {{ displayValue() }}
25+
<li>
26+
<span class="text-sentence-case">{{
27+
key() === 'vehicle type' ? ('statusesDiff.mileageRateName' | transloco) : key()
28+
}}</span>
29+
: <span class="text-first-letter-uppercase">{{ displayValue() }}</span>
2730
</li>
2831
</div>
2932
}

src/global.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,13 @@ ion-popover.camera-options-popover {
337337
}
338338
}
339339

340+
.text-first-letter-uppercase {
341+
display: inline-block;
342+
&::first-letter {
343+
text-transform: uppercase !important;
344+
}
345+
}
346+
340347
.d-flex {
341348
display: flex !important;
342349
}

0 commit comments

Comments
 (0)