Improved responsive styles for the editor

This commit is contained in:
Jori Lallo
2016-05-18 01:14:35 -07:00
parent 6b3e56a4cf
commit 58e588a6fd
2 changed files with 15 additions and 5 deletions

View File

@@ -1,13 +1,13 @@
import React from 'react';
const styles = {
paddingTop: "100px",
cursor: "text",
};
import styles from './ClickablePadding.scss';
const ClickablePadding = (props) => {
return (
<div style={ styles } onClick={ props.onClick }>&nbsp;</div>
<div
className={ styles.container }
onClick={ props.onClick }
>&nbsp;</div>
)
};

View File

@@ -0,0 +1,10 @@
.container {
padding-top: 100px;
cursor: text;
}
@media all and (max-width: 960px) {
.container {
padding-top: 50px;
}
}