Browse Source

Update tablet width

up-style-manager
Artur Arseniev 4 years ago
parent
commit
c75f107e2e
  1. 2
      docs/modules/Style-manager.md
  2. 14
      src/device_manager/config/config.js

2
docs/modules/Style-manager.md

@ -348,7 +348,7 @@ grapesjs.init({
## Components constraints ## Component constraints
When you define custom components you can also indicate, via `stylable` and `unstylable` props, which CSS properties should be available for styling. In that case, the Style Manager will only show the available properties. If the sector doesn't contain any available property, it won't be shown. When you define custom components you can also indicate, via `stylable` and `unstylable` props, which CSS properties should be available for styling. In that case, the Style Manager will only show the available properties. If the sector doesn't contain any available property, it won't be shown.

14
src/device_manager/config/config.js

@ -7,25 +7,25 @@ export default {
{ {
id: 'desktop', id: 'desktop',
name: 'Desktop', name: 'Desktop',
width: '' width: '',
}, },
{ {
id: 'tablet', id: 'tablet',
name: 'Tablet', name: 'Tablet',
width: '768px', width: '770px',
widthMedia: '992px' widthMedia: '992px',
}, },
{ {
id: 'mobileLandscape', id: 'mobileLandscape',
name: 'Mobile landscape', name: 'Mobile landscape',
width: '568px', width: '568px',
widthMedia: '768px' widthMedia: '768px',
}, },
{ {
id: 'mobilePortrait', id: 'mobilePortrait',
name: 'Mobile portrait', name: 'Mobile portrait',
width: '320px', width: '320px',
widthMedia: '480px' widthMedia: '480px',
} },
] ],
}; };

Loading…
Cancel
Save