correct weird editor borders on mobile

This commit is contained in:
Jeff Atwood 2016-03-29 23:57:44 -07:00
parent d0bf465989
commit 73a0f109e8

View File

@ -131,6 +131,7 @@ input {
margin-top: 6px;
width: 99%;
box-sizing: border-box;
border: 1px solid $secondary;
}
.wmd-controls {
transition: top 0.3s ease;
@ -176,9 +177,15 @@ input {
}
.d-editor-input {
color: dark-light-choose(darken($primary, 40%), blend-primary-secondary(90%));
}
.d-editor-input {
bottom: 35px;
width: 100%;
height: 100%;
padding: 7px;
margin: 0;
background-color: $secondary;
word-wrap: break-word;
box-sizing: border-box;
border: 1px solid $secondary;
}
.submit-panel {
// need minimum width that fits, or this'll wrap cancel under submit/create which is super bad
@ -269,15 +276,6 @@ input {
z-index: 1000001;
}
}
.d-editor-input {
width: 100%;
height: 100%;
padding: 7px;
margin: 0;
background-color: $secondary;
word-wrap: break-word;
box-sizing: border-box;
}
.d-editor-textarea-wrapper {
position: relative;
box-sizing: border-box;