Skip to content

Commit

Permalink
Merge pull request #6418 from NMDSdevopsServiceAdm/fix/qualification-…
Browse files Browse the repository at this point in the history
…table-row-height-when-upload-button

Fix: Qualification table row height when upload button
  • Loading branch information
duncanc19 authored Nov 19, 2024
2 parents df6660e + e512ee4 commit 98624ad
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h1 class="govuk-heading-l govuk-!-font-size-27">Qualifications</h1>
<span aria-live="polite">
<app-validation-error-message *ngIf="certificateErrors?.[qualificationGroup.group]" [errorMessage]="certificateErrors[qualificationGroup.group]" />
</span>
<table class="govuk-table">
<table class="govuk-table asc-training-and-quals-table">
<caption class="govuk-visually-hidden">
{{
qualificationGroup.group
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1 class="govuk-heading-l govuk-!-font-size-27">{{ trainingType }}</h1>
<span aria-live="polite">
<app-validation-error-message *ngIf="certificateErrors?.[trainingCategory.category]" [errorMessage]="certificateErrors?.[trainingCategory.category]" />
</span>
<table class="govuk-table govuk-!-margin-bottom-7">
<table class="govuk-table asc-training-and-quals-table govuk-!-margin-bottom-7">
<caption
class="govuk-visually-hidden"
>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { TrainingStatusService } from '@core/services/trainingStatus.service';
@Component({
selector: 'app-new-training',
templateUrl: './new-training.component.html',
styleUrls: ['./new-training.component.scss'],
})
export class NewTrainingComponent implements OnChanges {
@Input() public trainingCategories: TrainingRecordCategory[];
Expand Down
7 changes: 7 additions & 0 deletions frontend/src/assets/scss/components/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,10 @@ $error_row_padding: $govuk-gutter-half;
.govuk-table-custom-width {
width: 20% !important;
}

.asc-training-and-quals-table {
td.govuk-table__cell:has(button) {
padding-top: 6px;
padding-bottom: 6px;
}
}

0 comments on commit 98624ad

Please sign in to comment.