Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

### Fixed
- Font size selection now works in the web component (#1277)

## [0.34.0] - 2025-11-17

### Added
Expand Down
17 changes: 7 additions & 10 deletions src/assets/stylesheets/EditorPanel.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@use "./rpf_design_system/spacing" as *;
@use "./rpf_design_system/font-size" as *;
@use "../../../node_modules/@raspberrypifoundation/design-system-core/scss/mixins/typography";
@forward '@raspberrypifoundation/design-system-core/scss/properties/spacing';
@use '@raspberrypifoundation/design-system-core/scss/mixins/typography' as typography;

// Scrollbar-width is needed from scrollbar to show in Chrome
.editor-wrapper {
Expand All @@ -26,8 +25,6 @@
}

.cm-scroller {
@include typography.style-1();

// Needed here for horizontal scroll
overflow: auto;
scrollbar-width: thin;
Expand All @@ -37,22 +34,22 @@

.cm-content {
flex: 1;
padding-block-start: $space-0-5;
margin-inline-end: $space-0-5;
padding-block-start: var(--space-0-5);
margin-inline-end: var(--space-0-5);
}
}
}

&--small {
@include font-size-1(regular);
@include typography.style-1();
}

&--medium {
@include font-size-1-5(regular);
@include typography.style-1-5();
}

&--large {
@include font-size-2(regular);
@include typography.style-2();
}
}

Expand Down
Loading