@@ -58,29 +58,29 @@ export default class MenuItem extends React.Component<{format: string, active: b
58
58
getImgSrc ( ) {
59
59
switch ( this . props . format ) {
60
60
case "strong" :
61
- return require ( "../static/scribe-format-bold.svg " ) ;
61
+ return require ( "../static/scribe-format-bold.png " ) ;
62
62
case "em" :
63
- return require ( "../static/scribe-format-italic.svg " ) ;
63
+ return require ( "../static/scribe-format-italic.png " ) ;
64
64
case "underline" :
65
- return require ( "../static/scribe-format-underline.svg " ) ;
65
+ return require ( "../static/scribe-format-underline.png " ) ;
66
66
case "code" :
67
- return require ( "../static/scribe-format-code.svg " ) ;
67
+ return require ( "../static/scribe-format-code.png " ) ;
68
68
case "strikethrough" :
69
- return require ( "../static/scribe-format-strikethrough.svg " ) ;
69
+ return require ( "../static/scribe-format-strikethrough.png " ) ;
70
70
case "heading" :
71
- return require ( "../static/scribe-format-text-style.svg " ) ;
71
+ return require ( "../static/scribe-format-text-style.png " ) ;
72
72
case "bullet_list" :
73
- return require ( "../static/scribe-format-list-bulleted.svg " ) ;
73
+ return require ( "../static/scribe-format-list-bulleted.png " ) ;
74
74
case "ordered_list" :
75
- return require ( "../static/scribe-format-list-numbered.svg " ) ;
75
+ return require ( "../static/scribe-format-list-numbered.png " ) ;
76
76
case "blockquote" :
77
- return require ( "../static/scribe-format-blockquote.svg " ) ;
77
+ return require ( "../static/scribe-format-blockquote.png " ) ;
78
78
case "link" :
79
- return require ( "../static/scribe-format-link.svg " ) ;
79
+ return require ( "../static/scribe-format-link.png " ) ;
80
80
case "image" :
81
- return require ( "../static/scribe-format-photo.svg " ) ;
81
+ return require ( "../static/scribe-format-photo.png " ) ;
82
82
case "stick" :
83
- return require ( "../static/scribe-stick.svg " ) ;
83
+ return require ( "../static/scribe-stick.png " ) ;
84
84
default :
85
85
break ;
86
86
}
@@ -152,6 +152,7 @@ export default class MenuItem extends React.Component<{format: string, active: b
152
152
// alt="formatting"
153
153
id = { this . props . format }
154
154
src = { this . getImgSrc ( ) }
155
+ style = { { height : "24px" , width : "24px" } }
155
156
className = "inactive-menu-icon"
156
157
title = { this . props . tooltip }
157
158
/>
@@ -166,6 +167,7 @@ export default class MenuItem extends React.Component<{format: string, active: b
166
167
className = { this . getClassName ( ) }
167
168
src = { this . getImgSrc ( ) }
168
169
title = { this . props . tooltip }
170
+ style = { { height : "24px" , width : "24px" } }
169
171
onClick = { this . props . format !== "stick" ? this . props . handleClick : ( ) => null } />
170
172
)
171
173
}
0 commit comments