Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 40a4bd1

Browse files
committed
fix(plugins/plugin-client-common): h2 in Notebooks have double underline
Fixes #5574
1 parent afd070c commit 40a4bd1

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

plugins/plugin-client-common/web/scss/components/Terminal/Commentary.scss

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,30 @@
2424
}
2525
}
2626

27-
@mixin MajorHeaders {
27+
@mixin h1 {
28+
@include Card {
29+
h1 {
30+
@content;
31+
}
32+
}
33+
}
34+
35+
@mixin h2 {
2836
@include Card {
29-
h1,
3037
h2 {
3138
@content;
3239
}
3340
}
3441
}
3542

43+
@mixin h3 {
44+
@include Card {
45+
h3 {
46+
@content;
47+
}
48+
}
49+
}
50+
3651
@mixin Paragraphs {
3752
@include Card {
3853
p {
@@ -50,14 +65,25 @@
5065
}
5166

5267
@include Scrollback {
53-
@include MajorHeaders {
68+
@include h1 {
5469
font-weight: 500;
5570
font-size: 2.125rem;
5671
letter-spacing: 0.32px;
5772
padding: 0.5rem 1rem 0.5rem 0.25rem;
5873
border-bottom: 1px solid var(--color-table-border2);
5974
}
6075

76+
@include h2 {
77+
font-weight: 400;
78+
font-size: 1.5rem;
79+
letter-spacing: 0.32px;
80+
margin: 0 0 0.5rem;
81+
82+
&:before {
83+
display: none;
84+
}
85+
}
86+
6187
@include Paragraphs {
6288
font-size: 1rem;
6389
line-height: 1.5rem;

0 commit comments

Comments
 (0)