Bugfix/fix vertical alignment in gf toggle (#1991)

* Fix alignment

* Update changelog
This commit is contained in:
Thomas Kaul 2023-05-20 10:10:53 +02:00 committed by GitHub
parent cf4c981cd9
commit 73c127f10c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Fixed
- Fixed the vertical alignment in the toggle component
## 1.270.1 - 2023-05-19 ## 1.270.1 - 2023-05-19
### Added ### Added

View File

@ -1,10 +1,11 @@
<mat-radio-group <mat-radio-group
class="text-nowrap" class="d-block text-nowrap"
[formControl]="option" [formControl]="option"
(change)="onValueChange()" (change)="onValueChange()"
> >
<mat-radio-button <mat-radio-button
*ngFor="let option of options" *ngFor="let option of options"
class="d-inline-flex"
[disabled]="isLoading" [disabled]="isLoading"
[ngClass]="{ 'cursor-pointer': !isLoading }" [ngClass]="{ 'cursor-pointer': !isLoading }"
[value]="option.value" [value]="option.value"