File tree 6 files changed +20
-20
lines changed 6 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import 'codemirror/mode/javascript/javascript';
4
4
import 'codemirror/addon/selection/active-line'
5
5
6
6
class Editor extends React . Component {
7
- _cm : CodeMirror . Editor
7
+ _cm : CodeMirror . Editor
8
8
9
9
componentDidMount ( ) {
10
10
this . _cm = CodeMirror ( this . refs . container , {
Original file line number Diff line number Diff line change @@ -15,18 +15,18 @@ class Preferences extends React.Component {
15
15
return (
16
16
< div className = { preferencesContainerClass } tabindex = "0" >
17
17
< div className = "preferences__heading" >
18
- < h2 className = "preferences__title-text " > Preferences</ h2 >
18
+ < h2 className = "preferences__title" > Preferences</ h2 >
19
19
< button className = "preferences__exit-button" onClick = { this . props . closePreferences } >
20
20
< Isvg src = { exitUrl } alt = "Exit Preferences" />
21
21
</ button >
22
22
</ div >
23
23
< div className = "preference" >
24
- < h3 className = "preference__title-text " > Font Size</ h3 >
25
- < button className = "preferences__plus -button" onClick = { this . props . decreaseFont } >
24
+ < h3 className = "preference__title" > Font Size</ h3 >
25
+ < button className = "preference__plus -button" onClick = { this . props . decreaseFont } >
26
26
< Isvg src = { minusUrl } alt = "Decrease Font Size" />
27
27
</ button >
28
28
< p className = "preference__value" > { this . props . fontSize } </ p >
29
- < button className = "preferences__minus -button" onClick = { this . props . increaseFont } >
29
+ < button className = "preference__minus -button" onClick = { this . props . increaseFont } >
30
30
< Isvg src = { plusUrl } alt = "Increase Font Size" />
31
31
</ button >
32
32
</ div >
Original file line number Diff line number Diff line change 19
19
}
20
20
}
21
21
22
- .preferences__plus -button {
22
+ .preference__plus -button {
23
23
@extend %preferences-button ;
24
24
margin-right : auto ;
25
25
}
26
26
27
- .preferences__minus -button {
27
+ .preference__minus -button {
28
28
@extend %preferences-button ;
29
29
}
30
30
33
33
flex-direction : rows ;
34
34
margin-left : #{20 / $base-font-size } rem;
35
35
}
36
- .preferences__title-text {
36
+ .preferences__title {
37
37
margin : 0 0 ;
38
38
font-size : #{$menu-font-size } px;
39
39
font-weight : 700 ;
45
45
margin : 0 #{20 / $base-font-size } rem;
46
46
}
47
47
48
- .preference__title-text {
48
+ .preference__title {
49
49
margin : 0 0 ;
50
50
font-size : #{$base-font-size } px;
51
51
font-weight : 400 ;
You can’t perform that action at this time.
0 commit comments