0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Swap entry title selector for one that isn't applied after a delay

This fixes a bug that made the title in the editor look like it was animating in, as `.editor` is added after a slight delay.
This commit is contained in:
Paul Adam Davis 2014-07-08 23:44:13 +01:00
parent f5bd8469e6
commit 13d453a980
2 changed files with 29 additions and 29 deletions

View file

@ -16,6 +16,33 @@
Editor
========================================================================== */
// The main post title
.entry-container .entry-title {
@extend .box;
height: 57px;
padding: 2px 15px;
margin-bottom: 5px;
position: relative;
@media (max-width: 400px) {
box-shadow: none;
}
input {
border: 0;
margin: 0;
padding: 0;
font-size: 3em;
font-weight: bold;
letter-spacing: -1px;
width: 100%;
background: transparent;
&:focus {
outline: 0;
}
}
} // .entry-title
.editor {
.notifications {
@ -24,33 +51,6 @@
}
}
// The main post title
.entry-title {
@extend .box;
height: 57px;
padding: 2px 15px;
margin-bottom: 5px;
position: relative;
@media (max-width: 400px) {
box-shadow: none;
}
input {
border: 0;
margin: 0;
padding: 0;
font-size: 3em;
font-weight: bold;
letter-spacing: -1px;
width: 100%;
background: transparent;
&:focus {
outline: 0;
}
}
} // .entry-title
.entry-container {
position: relative;
height: 100%;

File diff suppressed because one or more lines are too long