Skip to content

Commit 02aa981

Browse files
authored
Merge pull request #3159 from shujuuu/fix-mobile-tabs-broken-layout
Fix broken file name tabs in mobile
2 parents a71d437 + 9948ebc commit 02aa981

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

client/modules/IDE/components/Editor/MobileEditor.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const EditorContainer = styled.div`
1919
padding: ${remSize(10)};
2020
font-weight: bold;
2121
${prop('MobilePanel.default')}
22+
background-color: ${prop('backgroundColor')}
2223
}
2324
}
2425

client/modules/IDE/components/Editor/index.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ class Editor extends React.Component {
582582
</section>
583583
) : (
584584
<EditorContainer expanded={this.props.isExpanded}>
585-
<>
585+
<div>
586586
<IconButton
587587
onClick={this.props.expandSidebar}
588588
icon={FolderIcon}
@@ -591,7 +591,7 @@ class Editor extends React.Component {
591591
{this.props.file.name}
592592
<UnsavedChangesIndicator />
593593
</span>
594-
</>
594+
</div>
595595
<section>
596596
<EditorHolder
597597
ref={(element) => {

0 commit comments

Comments
 (0)