Skip to content

Commit

Permalink
apply default overflow correctly
Browse files Browse the repository at this point in the history
- closes #31
- closes #22
  • Loading branch information
foxriver76 committed Feb 6, 2024
1 parent d890180 commit 77058ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ E.g., if it was used in a menu and the menu is red, the circle would be red.
### **WORK IN PROGRESS**
-->
## Changelog
### **WORK IN PROGRESS**
* (foxriver76) apply default overflow correctly

### 2.9.30 (2024-02-06)
* (foxriver76) global css will no longer be deleted on adapter upload/update
* (foxriver76) allow to modify style of navigation
Expand Down
4 changes: 1 addition & 3 deletions src/src/Runtime.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -540,9 +540,7 @@ class Runtime extends GenericApp {
}

// set overflow mode in runtime mode
if (project.___settings?.bodyOverflow) {
window.document.body.style.overflow = project.___settings.bodyOverflow;
}
window.document.body.style.overflow = project.___settings?.bodyOverflow || 'auto';
} else {
this.subscribedProject = projectName;
// subscribe on changes
Expand Down

0 comments on commit 77058ff

Please sign in to comment.