Skip to content

Commit b3fb2ed

Browse files
Change horizontal scrollbar to show when needed not just bottom page (#1257)
closes RaspberryPiFoundation/digital-editor-issues#877 **### Screenshots:** **Scrollbar at the bottom with no vertical scroll:** <img width="654" height="572" alt="image" src="https://github.com/user-attachments/assets/69d48146-67db-4390-820d-045a8d0edd06" /> **Scrollbar still there when vertical scroll:** <img width="654" height="572" alt="image" src="https://github.com/user-attachments/assets/4ffcdf0c-f3cb-4829-9741-47dd8b5a8d2f" />
1 parent 8d36161 commit b3fb2ed

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

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+
## Unreleased
8+
9+
### Changed
10+
11+
- Changed the horizontal scrollbar to show without needing to scroll to the bottom of the editor window (#1257)
12+
713
## [0.33.0] - 2025-10-15
814

915
### Added

src/assets/stylesheets/EditorPanel.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66
// Needed here for vertical scroll
77
overflow: auto;
88
scrollbar-width: thin;
9+
height: 100%;
910
}
1011

1112
.editor {
1213
display: flex;
1314
flex-flow: column;
1415
flex: 1;
1516
overflow: hidden;
17+
height: 100%;
1618

1719
.cm-editor {
1820
flex: 1;

0 commit comments

Comments
 (0)