diff --git a/brain/views/dash/page-edit.twig b/brain/views/dash/page-edit.twig index 5a29d49..594df25 100644 --- a/brain/views/dash/page-edit.twig +++ b/brain/views/dash/page-edit.twig @@ -32,7 +32,7 @@ {% endblock %} {% block stylesheets %} - + {% endblock %} {% block mainContent %} diff --git a/public/assets/css/dash.css b/public/assets/css/dash.css index 9ccf403..91e7543 100644 --- a/public/assets/css/dash.css +++ b/public/assets/css/dash.css @@ -3197,10 +3197,18 @@ select { margin: 10px 0 50px 0; position: relative; } +#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper textarea:focus { + outline: none; + border-color: #fc6399; +} +#post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper #edit { + overflow: hidden !important; +} #post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper #edit, #post-edit-index #post-edit-index-wrapper #edit-post #edit-post-wrapper #highlight { /* Both elements need the same text and space styling so they are directly on top of each other */ border: 0; width: 100%; + min-height: 300px; height: auto; position: absolute; top: 0; diff --git a/src/styles/main/_posts.sass b/src/styles/main/_posts.sass index 7c5cf2c..9eef420 100644 --- a/src/styles/main/_posts.sass +++ b/src/styles/main/_posts.sass @@ -306,13 +306,21 @@ //background $primary - 10% margin: 10px 0 50px 0 position: relative - + //editor sometimes scrolls throwing it all out of wack + //turning of scrolling keeps it aligned + textarea:focus + outline: none + border-color: $highlight + + #edit + overflow: hidden !important #edit, #highlight /* Both elements need the same text and space styling so they are directly on top of each other */ //margin: 10px //padding: 10px border: 0 width: 100% + min-height: 300px height: auto position: absolute top: 0