Skip to content

Commit 81c8a61

Browse files
committed
Tweaks to embed
1 parent 62daac0 commit 81c8a61

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

packages/app/src/embed/components/App/elements.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ export const Moving = styled.div`
3333
position: absolute;
3434
top: 0;
3535
bottom: 0;
36-
left: 0;
36+
left: props.sidebarOpen ? 250 : 0;
3737
right: 0;
38-
transform: translateX(${props => (props.sidebarOpen ? 250 : 0)}px);
38+
width: ${props => (props.sidebarOpen ? 'calc(100% - 250px)' : '100%')};
3939
border: 1px solid;
4040
/* 8 digit hex code with last 2 for opacity */
4141
border-color: ${props => props.theme.colors.sideBar.border + '33'};

packages/app/src/embed/components/Content/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ type State = {
8383
running: boolean;
8484
currentDevToolPosition: DevToolsTabPosition;
8585
};
86-
86+
// eslint-disable-next-line import/no-default-export
8787
export default class Content extends React.PureComponent<Props, State> {
8888
state: State;
8989

packages/app/src/sandbox/status-screen/run-on-click-screen.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
color: #fff;
55
font-family: 'Inter UI', sans-serif;
66
background: #151515;
7+
cursor: pointer;
78
}
89

910
.container {

0 commit comments

Comments
 (0)