Feature/improve benchmark comparator on mobile (#1238)

* Improve layout for mobile

* Update changelog
pull/1241/head
Thomas Kaul 2 years ago committed by GitHub
parent 7a733ae49b
commit 20bc7ef99c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
### Changed
- Improved the mobile layout of the benchmark comparator
## 1.189.0 - 08.09.2022 ## 1.189.0 - 08.09.2022
### Changed ### Changed

@ -1,14 +1,16 @@
<div class="align-items-center d-flex"> <div class="row">
<div class="align-items-center d-flex flex-grow-1 h5 mb-0 text-truncate"> <div class="col-md-6 col-xs-12 d-flex">
<span i18n>Benchmarks</span> <div class="align-items-center d-flex flex-grow-1 h5 mb-0 text-truncate">
<sup i18n>Beta</sup> <span i18n>Benchmarks</span>
<gf-premium-indicator <sup i18n>Beta</sup>
*ngIf="user?.subscription?.type === 'Basic'" <gf-premium-indicator
class="ml-1" *ngIf="user?.subscription?.type === 'Basic'"
></gf-premium-indicator> class="ml-1"
></gf-premium-indicator>
</div>
</div> </div>
<div> <div class="col-md-6 col-xs-12 d-flex justify-content-end">
<mat-form-field appearance="outline" class="w-100"> <mat-form-field appearance="outline" class="w-100" color="accent">
<mat-label i18n>Compare with...</mat-label> <mat-label i18n>Compare with...</mat-label>
<mat-select <mat-select
name="benchmark" name="benchmark"

Loading…
Cancel
Save