Fix textarea and comment_table width

hinted-selects
Vitaliy Filippov 2014-09-10 15:18:01 +04:00
parent 2c862c0507
commit 723ddea69b
2 changed files with 7 additions and 3 deletions

View File

@ -293,7 +293,7 @@ div#docslinks {
margin-bottom: 2em;
}
.bz_comment_text {
.bz_comment_text, #comment_textarea {
width: 50em;
white-space: normal;
}
@ -302,6 +302,10 @@ div#docslinks {
margin: 1em 0;
}
.bz_comment_text p:last-child {
margin-bottom: .5em;
}
.bz_comment_text .quote {
color: #65379c;
border-left: solid 3px #65379c;
@ -311,7 +315,7 @@ div#docslinks {
/* The rules for these classes make international text wrap correctly,
even for languages like Japanese that have no spaces. */
.bz_comment_text, .uneditable_textarea {
.bz_comment_text, .uneditable_textarea, textarea {
font-family: Consolas, monospace;
}

View File

@ -28,7 +28,7 @@
[% DEFAULT mode = "show" %]
[%# This auto-sizes the comments and positions the collapse/expand links to the right. %]
<table class="bz_comment_table" cellpadding="0" cellspacing="0">
<table class="bz_comment_table" cellpadding="0" cellspacing="0"[% ' style="width: 100%"' IF user.settings.comment_width.value == 'on' %]>
<tr><td>
[% PROCESS "bug/comment-preview-div.html.tmpl" %]