Skip to content

Commit e39819b

Browse files
maintain gap between the button
1 parent 398b277 commit e39819b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/modules/IDE/components/FloatingActionButton.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const FloatingActionButton = ({ syncFileContent, offsetBottom }) => {
4747
className={classNames({ stop: isPlaying })}
4848
style={{
4949
paddingLeft: isPlaying ? 0 : remSize(5),
50-
bottom: offsetBottom
50+
marginBottom: offsetBottom
5151
}}
5252
onClick={() => {
5353
if (!isPlaying) {

client/modules/IDE/pages/IDEView.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ const IDEView = () => {
210210
<>
211211
<FloatingActionButton
212212
syncFileContent={syncFileContent}
213-
offsetBottom={ide.isPlaying ? consoleSize : 0}
213+
offsetBottom={ide.isPlaying ? consoleSize : 20}
214214
/>
215215
<PreviewWrapper show={ide.isPlaying}>
216216
<SplitPane

0 commit comments

Comments
 (0)