Skip to content

Commit 8fd5875

Browse files
authored
SF-3027 Consistent Page Title Styling (#3193)
1 parent 4fabbb9 commit 8fd5875

File tree

6 files changed

+8
-16
lines changed

6 files changed

+8
-16
lines changed

src/SIL.XForge.Scripture/ClientApp/src/app/my-projects/my-projects.component.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313

1414
h1 {
1515
font-weight: 500;
16-
margin: 0;
16+
margin: 8px 0 0 0;
17+
font-size: 2.5rem;
1718
}
1819
h2 {
1920
font-weight: 500;

src/SIL.XForge.Scripture/ClientApp/src/app/settings/settings.component.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
padding: 0;
77
max-width: 800px;
88
padding-block-end: 10px;
9-
10-
.mat-headline-4 {
11-
margin-bottom: 32px;
12-
}
139
}
1410

1511
.mat-mdc-card {

src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/confirm-sources/confirm-sources.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<ng-container *transloco="let t; read: 'confirm_draft_sources'">
2-
<h1 class="mat-headline-4">{{ t("review_draft_setup") }}</h1>
2+
<h1>{{ t("review_draft_setup") }}</h1>
33
<h2>{{ t("training_language_model") }}</h2>
44
<div class="training-data">
55
<div class="source-description">

src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/draft-generation-steps/draft-generation-steps.component.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<ng-template matStepLabel>
2424
{{ t("choose_books_to_translate_header") }}
2525
</ng-template>
26-
<h1 class="mat-headline-4">{{ t("choose_books_to_translate_title") }}</h1>
26+
<h1>{{ t("choose_books_to_translate_title") }}</h1>
2727
@for (source of draftingSources; track source) {
2828
<p class="reference-project-label">{{ projectLabel(source) }}</p>
2929
<app-book-multi-select
@@ -90,7 +90,7 @@ <h4 class="explanation">
9090
<ng-template matStepLabel>
9191
{{ t("choose_books_for_training_header") }}
9292
</ng-template>
93-
<h1 class="mat-headline-4">{{ t("choose_books_for_training_title") }}</h1>
93+
<h1>{{ t("choose_books_for_training_title") }}</h1>
9494
<h2>{{ t("translated_books") }}</h2>
9595
<app-book-multi-select
9696
[availableBooks]="selectableTrainingBooksByProj(activatedProject.projectId)"
@@ -184,7 +184,7 @@ <h2>{{ t("reference_books") }}</h2>
184184
<ng-template matStepLabel>
185185
{{ t("choose_additional_training_data_files_header") }}
186186
</ng-template>
187-
<h1 class="mat-headline-4">{{ t("choose_additional_training_data_files_title") }}</h1>
187+
<h1>{{ t("choose_additional_training_data_files_title") }}</h1>
188188
<app-training-data-multi-select
189189
[availableTrainingData]="availableTrainingFiles"
190190
[selectedTrainingDataIds]="selectedTrainingFileIds"
@@ -214,7 +214,7 @@ <h1 class="mat-headline-4">{{ t("choose_additional_training_data_files_title") }
214214
<ng-template matStepLabel>
215215
{{ t("configure_advanced_settings_header") }}
216216
</ng-template>
217-
<h1 class="mat-headline-4">{{ t("configure_advanced_settings_title") }}</h1>
217+
<h1>{{ t("configure_advanced_settings_title") }}</h1>
218218
<div>
219219
<mat-checkbox class="fast-training" [(ngModel)]="fastTraining">{{ t("fast_training") }}</mat-checkbox>
220220
</div>
@@ -249,7 +249,7 @@ <h1 class="mat-headline-4">{{ t("configure_advanced_settings_title") }}</h1>
249249
<ng-template matStepLabel>
250250
{{ t("summary_header") }}
251251
</ng-template>
252-
<h1 class="mat-headline-4">{{ t("summary_title") }}</h1>
252+
<h1>{{ t("summary_title") }}</h1>
253253

254254
<h2>{{ t("summary_training_title") }}</h2>
255255
<mat-card class="confirm-section mat-elevation-z2">

src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/draft-generation.component.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
padding-block-end: 10px;
1313
}
1414

15-
.mat-headline-4 {
16-
margin: 0;
17-
}
18-
1915
// Manually center over cancel button
2016
app-working-animated-indicator {
2117
margin-inline-start: 24px;

src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/draft-sources/draft-sources.component.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ h1 {
2626
margin: 0;
2727
}
2828

29-
h1,
3029
h2,
3130
h3,
3231
strong {

0 commit comments

Comments
 (0)