Browse Source

style(ui): increase default window size

next
Tom Kirkpatrick 6 years ago
parent
commit
476c5119bb
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 4
      app/components/UI/Page.js
  2. 6
      app/main.dev.js
  3. 4
      test/unit/components/UI/__snapshots__/Page.spec.js.snap

4
app/components/UI/Page.js

@ -15,8 +15,8 @@ const Page = ({ css, ...rest }) => (
{
height: '100%',
overflow: 'hidden',
'min-width': '950px',
'min-height': '600px',
'min-width': '900px',
'min-height': '425px',
'box-shadow': '0 20px 70px rgba(0, 0, 0, 0.55)'
},
css

6
app/main.dev.js

@ -114,9 +114,9 @@ app.on('ready', async () => {
show: false,
useContentSize: true,
titleBarStyle: 'hidden',
width: 950,
height: 600,
minWidth: 950,
width: 1020,
height: 650,
minWidth: 900,
minHeight: 425,
backgroundColor: get(theme, 'colors.primaryColor', '#242633')
})

4
test/unit/components/UI/__snapshots__/Page.spec.js.snap

@ -5,8 +5,8 @@ exports[`component.UI.Page should render correctly 1`] = `
background-color: primaryColor;
height: 100%;
overflow: hidden;
min-width: 950px;
min-height: 600px;
min-width: 900px;
min-height: 425px;
box-shadow: 0 20px 70px rgba(0,0,0,0.55);
display: -webkit-box;
display: -webkit-flex;

Loading…
Cancel
Save