@ -375,30 +375,32 @@ class Editor extends React.Component {
list = { LANGUAGES }
onChange = { this . updateLanguage }
/ >
< BackgroundSelect
onChange = { this . updateBackground }
updateHighlights = { this . updateHighlights }
mode = { backgroundMode }
color = { backgroundColor }
image = { backgroundImage }
carbonRef = { this . carbonNode . current }
/ >
< Settings
{ ... config }
onChange = { this . updateSetting }
resetDefaultSettings = { this . resetDefaultSettings }
format = { this . format }
applyPreset = { this . applyPreset }
getCarbonImage = { this . getCarbonImage }
/ >
< div className = "buttons" >
< TweetButton onClick = { this . upload } / >
< ExportMenu
< div className = "toolbar-second-row" >
< BackgroundSelect
onChange = { this . updateBackground }
updateHighlights = { this . updateHighlights }
mode = { backgroundMode }
color = { backgroundColor }
image = { backgroundImage }
carbonRef = { this . carbonNode . current }
/ >
< Settings
{ ... config }
onChange = { this . updateSetting }
export = { this . export }
exportSize = { exportSize }
backgroundImage = { backgroundImage }
resetDefaultSettings = { this . resetDefaultSettings }
format = { this . format }
applyPreset = { this . applyPreset }
getCarbonImage = { this . getCarbonImage }
/ >
< div className = "buttons" >
< TweetButton onClick = { this . upload } / >
< ExportMenu
onChange = { this . updateSetting }
export = { this . export }
exportSize = { exportSize }
backgroundImage = { backgroundImage }
/ >
< / d i v >
< / d i v >
< / T o o l b a r >
@ -443,6 +445,14 @@ class Editor extends React.Component {
display : flex ;
margin - left : auto ;
}
. toolbar - second - row {
height : 40 px ;
display : flex ;
flex : 1 ;
}
. toolbar - second - row > : global ( div : not ( : last - of - type ) ) {
margin - right : 0.5 rem ;
}
` }
< / s t y l e >
< / d i v >