Skip to content

Commit 090a866

Browse files
committed
fix sidebar width
1 parent 50a7c3f commit 090a866

File tree

1 file changed

+2
-2
lines changed
  • packages/app/src/app/pages/common/Modals/ShareModal2

1 file changed

+2
-2
lines changed

packages/app/src/app/pages/common/Modals/ShareModal2/elements.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const Sidebar = styled.div(
1717
color: 'white',
1818
fontSize: 3,
1919

20-
maxWidth: 300, // for development, remove this
20+
width: 272, // hard coded in pixels
2121
overflowY: 'auto',
2222
})
2323
);
@@ -218,7 +218,7 @@ export const SwitchLabel = styled.label(
218218
export const Preview = styled.div(
219219
css({
220220
padding: 8,
221-
width: '100%',
221+
width: 'calc(100% - 272px - 64px)', // remove sidebar and padding
222222
background: 'white',
223223
iframe: {
224224
width: '100%',

0 commit comments

Comments
 (0)