fix for text editor alignment issue. finally

pull/84/head
Ro 3 years ago
parent b70308d990
commit 10081c4323

@ -32,7 +32,7 @@
{% endblock %} {% endblock %}
{% block stylesheets %} {% block stylesheets %}
<link rel="stylesheet" type="text/css" href="/assets/css/dash.css?=dfeef"> <link rel="stylesheet" type="text/css" href="/assets/css/dash.css?=cvbn">
{% endblock %} {% endblock %}
{% block mainContent %} {% block mainContent %}

@ -3197,10 +3197,18 @@ select {
margin: 10px 0 50px 0; margin: 10px 0 50px 0;
position: relative; 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 { #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 */ /* Both elements need the same text and space styling so they are directly on top of each other */
border: 0; border: 0;
width: 100%; width: 100%;
min-height: 300px;
height: auto; height: auto;
position: absolute; position: absolute;
top: 0; top: 0;

@ -306,13 +306,21 @@
//background $primary - 10% //background $primary - 10%
margin: 10px 0 50px 0 margin: 10px 0 50px 0
position: relative 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 #edit, #highlight
/* Both elements need the same text and space styling so they are directly on top of each other */ /* Both elements need the same text and space styling so they are directly on top of each other */
//margin: 10px //margin: 10px
//padding: 10px //padding: 10px
border: 0 border: 0
width: 100% width: 100%
min-height: 300px
height: auto height: auto
position: absolute position: absolute
top: 0 top: 0

Loading…
Cancel
Save