Commit 128cf17b authored by chris's avatar chris

fixes

parent f84a84e4
import React from 'react'
import TextInput from 'editoria-common/src/TextInput'
import styles from '../styles/bookBuilder.local.scss'
class Title extends React.Component {
save () {
this.refs.chapterInput._save()
}
......@@ -21,9 +21,11 @@ class Title extends React.Component {
)
const plainTitle = (
<h3 onDoubleClick={goToEditor}>
<div className={styles.bodyTitle}>
<h3 onDoubleClick={goToEditor}>
{ title }
</h3>
</div>
)
if (isRenaming) return input
......
......@@ -11,9 +11,6 @@ $blue: #0d78f2;
// counter-reset: chapter;
font-family: 'Vollkorn'!important;
h1 {
font-style: italic;
}
.productionEditorContainer {
padding-bottom: 30px;
......@@ -85,7 +82,7 @@ $blue: #0d78f2;
font-size: 28px;
font-weight: 500;
padding: 0;
position: relative;
position: absolute;;
z-index: 999;
&:hover, &:active, &:focus {
......@@ -95,6 +92,7 @@ $blue: #0d78f2;
button {
float: left;
position: relative;
z-index: -90;
}
span:first-child {
......@@ -139,12 +137,15 @@ $blue: #0d78f2;
padding: 10px 50px 10px 10px;
h1 {
color: $blue !important;
color: $blue;
font-family: 'Vollkorn'!important;
font-size: 25px;
font-style: italic;
font-size: 30px;
font-style: normal;
font-weight: normal;
line-height: 36px;
letter-spacing: 5px;
margin: 0 !important;
text-transform: uppercase;
}
}
......@@ -300,8 +301,14 @@ $blue: #0d78f2;
}
.chapterTitle {
background-color: $white;
z-index: 9999;
.bodyTitle {
background-color: $white;
position: relative;
z-index: 999;
width: 100%;
height: 100%;
}
h3 {
color: #333 !important;
cursor: pointer;
......@@ -313,7 +320,6 @@ $blue: #0d78f2;
padding-bottom: 0;
padding-right: 10px;
white-space: nowrap;
}
}
......
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