summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2014-02-25 15:41:37 +0100
committerByron Jones <bjones@mozilla.com>2014-02-25 15:41:37 +0100
commit8fee28c9137095b37103106ae41c35d9c6523a52 (patch)
tree3e6d6120f3d860b785a826c62b6fcc2c2f1b234b
parentab86aba0236ca96d58d75b839c003f093a12a297 (diff)
downloadbugzilla-8fee28c9137095b37103106ae41c35d9c6523a52.tar.gz
bugzilla-8fee28c9137095b37103106ae41c35d9c6523a52.tar.xz
Bug 975204: Comment Preview tabs broken in New bug page
-rw-r--r--skins/contrib/Mozilla/global.css2
-rw-r--r--skins/standard/global.css12
-rw-r--r--template/en/default/bug/comment.html.tmpl1
3 files changed, 8 insertions, 7 deletions
diff --git a/skins/contrib/Mozilla/global.css b/skins/contrib/Mozilla/global.css
index 83eefb1da..6a3968a28 100644
--- a/skins/contrib/Mozilla/global.css
+++ b/skins/contrib/Mozilla/global.css
@@ -622,8 +622,6 @@ table.edit_form hr {
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
- display: block;
- clear: both;
}
#comment_tabs {
diff --git a/skins/standard/global.css b/skins/standard/global.css
index 25a60f750..846405a7b 100644
--- a/skins/standard/global.css
+++ b/skins/standard/global.css
@@ -586,10 +586,13 @@ input.required, select.required, span.required_explanation {
margin-left: -1px;
}
+#comment_tabs {
+ border-spacing: 0;
+}
+
.comment_tab {
- float: left;
+ display: table-cell;
border: 1px solid silver;
- border-bottom: 0px;
padding: 2px 1em;
cursor: pointer;
background: transparent;
@@ -602,7 +605,7 @@ input.required, select.required, span.required_explanation {
#comment_preview {
border: 1px solid silver;
- padding: 2px;
+ padding: 0px 1px;
overflow: auto;
margin: 0px;
}
@@ -617,7 +620,8 @@ input.required, select.required, span.required_explanation {
}
#comment {
- margin-top: 0px;
+ margin: 0px 0px 1em 0px;
+ padding: 0px;
}
/*******************/
diff --git a/template/en/default/bug/comment.html.tmpl b/template/en/default/bug/comment.html.tmpl
index 1d8cf0b30..e30801963 100644
--- a/template/en/default/bug/comment.html.tmpl
+++ b/template/en/default/bug/comment.html.tmpl
@@ -25,7 +25,6 @@
name = "comment"
id = "comment"
%]
-<br>
[% IF feature_enabled('jsonrpc') %]
<div id="comment_preview" class="bz_default_hidden bz_comment">