fix some slight crossbrowser rendering issues with jot

This commit is contained in:
Mario Vavti 2016-04-15 09:52:40 +02:00
parent a29c0371f1
commit fe9df64fc2
3 changed files with 16 additions and 16 deletions

View File

@ -34,10 +34,18 @@ code {
padding: 10px;
}
.profile-jot-text {
#profile-jot-text {
resize: none;
border-width: 0px;
height: 39px;
line-height: 19px;
padding: 10px;
width: 100%;
display: inherit;
}
#profile-jot-text:focus {
resize: vertical;
}
.jot-attachment {
@ -60,10 +68,6 @@ code {
height: 30px;
}
#profile-jot-form {
line-height: initial;
}
#profile-jot-wrapper {
margin-bottom: 30px;
}

View File

@ -1108,22 +1108,15 @@ img.mail-conv-sender-photo {
}
#profile-jot-text {
resize: none;
border-width: 0px;
border-radius: $radiuspx;
}
#profile-jot-text:focus {
resize: vertical;
}
#profile-jot-text::-webkit-input-placeholder {
font-size:16px;
font-size: 16px;
}
#profile-jot-text::-moz-placeholder {
font-size:16px;
font-size: 16px;
}
#profile-jot-text:focus::-webkit-input-placeholder {
@ -1815,7 +1808,10 @@ nav .badge.mail-update:hover {
}
/* Abusing theme-green is less work than makeing a new new one */
.theme-green .back-bar .selected-bar { background-color: #000000; background-image: none; !important }
.theme-green .back-bar .selected-bar {
background-color: #000000;
background-image: none !important;
}
/* Turn checkboxes into switches */

View File

@ -10,7 +10,7 @@ function initEditor(cb){
$("#profile-jot-text-loading").spin('small').show();
if(plaintext == 'none') {
$("#profile-jot-text-loading").spin(false).hide();
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
$("#profile-jot-text").css({ 'height': 200, 'color': '#000', 'line-height': 'inherit' });
{{if $bbco_autocomplete}}
$("#profile-jot-text").bbco_autocomplete('{{$bbco_autocomplete}}'); // autocomplete bbcode
{{/if}}