Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/fix scrolling issue in position detail dialog on mobile (#593)

Thomas Kaule37a650c70c5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9b2a74b35e..13c5c82769 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## Unreleased
+
+### Fixed
+
+- Fixed the scrolling issue in the position detail dialog on mobile
+
## 1.97.0 - 28.12.2021
### Added
diff --git a/apps/client/src/app/components/dialog-footer/dialog-footer.component.html b/apps/client/src/app/components/dialog-footer/dialog-footer.component.html
index c2153942a4..1c844c46d5 100644
--- a/apps/client/src/app/components/dialog-footer/dialog-footer.component.html
+++ b/apps/client/src/app/components/dialog-footer/dialog-footer.component.html
@@ -1,5 +1,6 @@
<button
*ngIf="deviceType === 'mobile'"
+ class="mt-2"
mat-button
(click)="onClickCloseButton()"
>
diff --git a/apps/client/src/app/components/dialog-footer/dialog-footer.component.scss b/apps/client/src/app/components/dialog-footer/dialog-footer.component.scss
index 29c2079e8a..d0b8200357 100644
--- a/apps/client/src/app/components/dialog-footer/dialog-footer.component.scss
+++ b/apps/client/src/app/components/dialog-footer/dialog-footer.component.scss
@@ -1,4 +1,7 @@
:host {
display: flex;
+ flex: 0 0 auto;
+ margin-bottom: 0;
min-height: 0;
+ padding: 0;
}