diff --git a/components/Carbon.js b/components/Carbon.js index df82221..291c256 100644 --- a/components/Carbon.js +++ b/components/Carbon.js @@ -11,6 +11,7 @@ hljs.registerLanguage('javascript', javascript) import SpinnerWrapper from './SpinnerWrapper' import WindowControls from './WindowControls' +import WidthHandler from './WidthHandler' import { COLORS, @@ -201,12 +202,19 @@ class Carbon extends React.PureComponent {
+ + +
+ ) +} diff --git a/lib/constants.js b/lib/constants.js index f6b1863..ee85b8c 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -1092,6 +1092,12 @@ export const DEFAULT_SETTINGS = { squaredImage: false, hiddenCharacters: false, name: '', + width: 680, +} + +export const DEFAULT_WIDTHS = { + minWidth: 320, + maxWidth: 1280, } export const DEFAULT_PRESETS = [