Commit 8e58a019 authored by chris's avatar chris

props

parent a523e1f3
......@@ -48,7 +48,12 @@ const AlignmentTool = ({ chapter, labelOptions, onClickAllign }) => {
}
AlignmentTool.propTypes = {
chapter: PropTypes.object,
chapter: PropTypes.shape({
alignment: {
left: PropTypes.bool,
right: PropTypes.bool
}
}),
labelOptions: PropTypes.shape({
labelTextLeft: PropTypes.string,
labelTextRight: PropTypes.string
......@@ -57,6 +62,12 @@ AlignmentTool.propTypes = {
}
AlignmentTool.defaultProps = {
chapter: {
alignment: {
left: true,
right: true
}
},
labelPositionRight: false,
labelOptions: {
labelTextLeft: 'left',
......
......@@ -82,7 +82,7 @@ class ChapterTitle extends React.Component {
{/* { this.props.chapter.index } */}
{ renameEmptyError }
<div className={styles.separator} />
{/* <div className={styles.separator} /> */}
</div>
)
......
......@@ -537,7 +537,7 @@ $upload-multiple: #b1b1b1;
// TO DELETE AND MAKE NEW ONES FOR RESPONSIVE LAYOUT
@media (min-width:215px) and (max-width:1200px) {
@media (min-width:215px) and (max-width:1000px) {
.pagePosition {
float:left!important;
padding-top:20px!important;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment