This repository was archived by the owner on Jul 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed
plugins/plugin-client-common
web/scss/components/Terminal Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,11 @@ export default class Markdown extends React.PureComponent<Props> {
114
114
return < Link { ...props } href = { href } target = { target } onClick = { onClick } />
115
115
}
116
116
} ,
117
- code : props => < CodeSnippet value = { props . value } onCopy = { this . onCopy . bind ( this , props . value ) } /> ,
117
+ code : props => (
118
+ < p >
119
+ < CodeSnippet value = { props . value } onCopy = { this . onCopy . bind ( this , props . value ) } />
120
+ </ p >
121
+ ) ,
118
122
heading : props => {
119
123
const valueChild =
120
124
props . children && props . children . length === 1
Original file line number Diff line number Diff line change 76
76
@include Scrollback {
77
77
@include h1 {
78
78
font-weight : 500 ;
79
- font-size : 2.125 rem ;
79
+ font-size : 1.875 rem ;
80
80
letter-spacing : 0.32px ;
81
- padding : 0.5 rem 1rem 0.5 rem 0.25rem ;
81
+ padding : 0.875 rem 1rem 0.875 rem 0.25rem ;
82
82
border-bottom : 1px solid var (--color-table-border2 );
83
- margin-bottom : 0.5rem ;
83
+ margin-bottom : 0.875rem ;
84
+
85
+ & :first-child {
86
+ padding-top : 0 ;
87
+ }
84
88
}
85
89
86
90
@include h2 {
87
- font-weight : 400 ;
88
- font-size : 1.5 rem ;
91
+ font-weight : 500 ;
92
+ font-size : 1.625 rem ;
89
93
letter-spacing : 0.32px ;
90
- margin : 0 0 0.5rem ;
94
+ margin : 0.5rem 0 ;
95
+
96
+ & :first-child {
97
+ margin-top : 0 ;
98
+ }
91
99
92
100
& :before {
93
101
display : none ;
You can’t perform that action at this time.
0 commit comments