Skip to content

Commit 31a2a76

Browse files
committed
Use typography mixin for the editor panel
1 parent 31e77d5 commit 31a2a76

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/assets/stylesheets/EditorPanel.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@use "./rpf_design_system/spacing" as *;
22
@use "./rpf_design_system/font-size" as *;
3+
@use "../../../node_modules/@raspberrypifoundation/design-system-core/scss/mixins/typography";
34

45
// Scrollbar-width is needed from scrollbar to show in Chrome
56
.editor-wrapper {
@@ -25,12 +26,14 @@
2526
}
2627

2728
.cm-scroller {
29+
@include typography.style-1();
30+
2831
// Needed here for horizontal scroll
2932
overflow: auto;
3033
scrollbar-width: thin;
3134
overscroll-behavior-x: none;
3235
font-family: var(--wc-font-family-monospace);
33-
line-height: var(--line-height-1-5);
36+
3437

3538
.cm-content {
3639
flex: 1;

0 commit comments

Comments
 (0)