Skip to content

Commit 6ed7054

Browse files
committed
fix(elements): only set height for pos-app-browser to prevent scrolling issues in custom dashboards
fixes #177
1 parent dc9b993 commit 6ed7054

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

elements/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
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).
66

7+
## 0.39.0
8+
9+
### Fixed
10+
11+
- `elements.css` does not set a height for the body element any more. This led to scrolling bugs in custom dashboards. The setting moved to `pos-app-browser` who original needs it for its own layout.
12+
713
## 0.38.0
814

915
### Changed

elements/src/apps/pos-app-browser/pos-app-browser.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
body {
2+
height: 100dvh;
3+
}
4+
15
pos-router {
26
margin: 0;
37
padding: 0;

elements/src/global.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
@import '~@shoelace-style/shoelace/dist/themes/dark.css';
55

66
body {
7-
height: 100dvh;
87
margin: 0;
98
padding: 0;
109
font-family: sans-serif;

0 commit comments

Comments
 (0)