|
|
@ -83,6 +83,7 @@ class Carbon extends React.Component {
|
|
|
|
// create styles
|
|
|
|
// create styles
|
|
|
|
const containerStyle = {
|
|
|
|
const containerStyle = {
|
|
|
|
background: config.background,
|
|
|
|
background: config.background,
|
|
|
|
|
|
|
|
minWidth: config.widthAdjustment ? '90px' : '680px',
|
|
|
|
padding: `${config.paddingVertical} ${config.paddingHorizontal}`
|
|
|
|
padding: `${config.paddingVertical} ${config.paddingHorizontal}`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -123,6 +124,10 @@ class Carbon extends React.Component {
|
|
|
|
box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#container :global(.CodeMirror__container) {
|
|
|
|
|
|
|
|
min-width: inherit;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#container :global(.CodeMirror__container.dropshadow) {
|
|
|
|
#container :global(.CodeMirror__container.dropshadow) {
|
|
|
|
box-shadow: 0 20px 68px rgba(0, 0, 0, 0.55);
|
|
|
|
box-shadow: 0 20px 68px rgba(0, 0, 0, 0.55);
|
|
|
|
border-radius: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
@ -130,7 +135,7 @@ class Carbon extends React.Component {
|
|
|
|
|
|
|
|
|
|
|
|
#container :global(.CodeMirror__container .CodeMirror) {
|
|
|
|
#container :global(.CodeMirror__container .CodeMirror) {
|
|
|
|
height: auto;
|
|
|
|
height: auto;
|
|
|
|
min-width: 680px;
|
|
|
|
min-width: inherit;
|
|
|
|
padding: 18px 18px;
|
|
|
|
padding: 18px 18px;
|
|
|
|
border-radius: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-family: Hack, monospace !important;
|
|
|
|
font-family: Hack, monospace !important;
|
|
|
|