Skip to content

Commit

Permalink
Fix message overlapping buttons
Browse files Browse the repository at this point in the history
Fixes #1673
  • Loading branch information
CompuIves committed Mar 31, 2019
1 parent 43cec9c commit c89b469
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
3 changes: 3 additions & 0 deletions packages/app/src/app/components/CodeEditor/elements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export const Icons = styled.div`
props.theme.light ? 'rgba(0, 0, 0, 0.7)' : 'rgba(255, 255, 255, 0.7)'};
padding: 0.5rem 1rem;
z-index: 40;
font-size: 0.875rem;
margin-top: 35px;
`;

export const Icon = styled.div`
Expand Down
9 changes: 2 additions & 7 deletions packages/app/src/app/components/CodeEditor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export default class CodeEditor extends React.PureComponent<
>
{!isModuleSynced(module.shortid) &&
module.title === 'index.html' && (
<Icons style={{ fontSize: '.875rem' }}>
<Icons>
You may have to save this file and refresh the preview to see
changes
</Icons>
Expand All @@ -202,12 +202,7 @@ export default class CodeEditor extends React.PureComponent<
</Tooltip>
</Icons>
) : (
<Icons
style={{
fontSize: '.875rem',
marginTop: settings.experimentVSCode ? 35 : 0,
}}
>
<Icons>
{config.partialSupportDisclaimer ? (
<Tooltip
placement="bottom"
Expand Down

0 comments on commit c89b469

Please sign in to comment.