Skip to content

Commit e5d90c0

Browse files
Show horizontal scrollbar in editor when needed (#1228)
closes RaspberryPiFoundation/digital-editor-issues#720
1 parent 44ccb08 commit e5d90c0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1919
## Changed
2020

2121
- Improved status bar styling (#1221)
22+
- Added horizontal scrollbar to editor (#1228)
2223

2324
## [0.30.1] - 2025-06-09
2425

src/assets/stylesheets/EditorPanel.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@use './rpf_design_system/spacing' as *;
2-
@use './rpf_design_system/font-size' as *;
1+
@use "./rpf_design_system/spacing" as *;
2+
@use "./rpf_design_system/font-size" as *;
33

44
.editor {
55
display: flex;
@@ -17,6 +17,7 @@
1717

1818
.cm-scroller {
1919
overflow: auto;
20+
scrollbar-width: thin;
2021
overscroll-behavior-x: none;
2122

2223
.cm-content {

0 commit comments

Comments
 (0)