main
Mike Fix 4 years ago
parent 1e038f3b92
commit 4741d6adc8
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -245,15 +245,13 @@ class Carbon extends React.PureComponent {
} }
.container .bg { .container .bg {
${ ${this.props.config.backgroundMode === 'image'
this.props.config.backgroundMode === 'image'
? `background: url(${backgroundImage}); ? `background: url(${backgroundImage});
background-size: cover; background-size: cover;
background-repeat: no-repeat;` background-repeat: no-repeat;`
: `background: ${this.props.config.backgroundColor || config.backgroundColor}; : `background: ${this.props.config.backgroundColor || config.backgroundColor};
background-size: auto; background-size: auto;
background-repeat: repeat;` background-repeat: repeat;`}
}
position: absolute; position: absolute;
top: 0px; top: 0px;
right: 0px; right: 0px;
@ -280,11 +278,9 @@ class Carbon extends React.PureComponent {
position: relative; position: relative;
z-index: 1; z-index: 1;
border-radius: 5px; border-radius: 5px;
${ ${config.dropShadow
config.dropShadow
? `box-shadow: 0 ${config.dropShadowOffsetY} ${config.dropShadowBlurRadius} rgba(0, 0, 0, 0.55)` ? `box-shadow: 0 ${config.dropShadowOffsetY} ${config.dropShadowBlurRadius} rgba(0, 0, 0, 0.55)`
: '' : ''};
};
} }
.container :global(.CodeMirror__container .CodeMirror) { .container :global(.CodeMirror__container .CodeMirror) {

@ -141,8 +141,8 @@ export default function Reset() {
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
background: ${COLORS.BLACK}; background: ${COLORS.BLACK};
color: white; color: white;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu,
sans-serif; 'Helvetica Neue', sans-serif;
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
text-transform: initial; text-transform: initial;

Loading…
Cancel
Save