Skip to content

Commit e3ba8d2

Browse files
committed
Play with options ad #2
1 parent c7ac53f commit e3ba8d2

File tree

1 file changed

+24
-16
lines changed

1 file changed

+24
-16
lines changed

App/containers/CodeContainer.js

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -174,23 +174,31 @@ class CodeContainer extends Component {
174174
<Pane>
175175
<EditorContainer onBlur={::this.onCodeChange} value={code}/>
176176

177-
<div style={{ width: '100%', marginTop: '16px' }}>
178-
<Adsense
179-
client="ca-pub-5000712498982649"
180-
slot="1666508371"
181-
format="horizontal"
182-
/>
183-
</div>
184-
185177
<Segment basic>
186-
<Button
187-
loading={pending}
188-
disabled={pending}
189-
primary
190-
onClick={onObfuscateClick}
191-
>
192-
Obfuscate
193-
</Button>
178+
<div style={{
179+
display: 'flex',
180+
alignItems: 'center'
181+
}}>
182+
<Button
183+
loading={pending}
184+
disabled={pending}
185+
primary
186+
onClick={onObfuscateClick}
187+
>
188+
Obfuscate
189+
</Button>
190+
191+
<div style={{
192+
flexGrow: 1,
193+
marginLeft: '8px',
194+
}}>
195+
<Adsense
196+
client="ca-pub-5000712498982649"
197+
slot="1666508371"
198+
format="horizontal"
199+
/>
200+
</div>
201+
</div>
194202
</Segment>
195203
</Pane>
196204
)

0 commit comments

Comments
 (0)