From c3320def88f0316bf5107f8ae825950a3fcdd816 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Tue, 13 Jul 2010 13:39:35 +0000 Subject: [PATCH] Make sure the form fields in the reply form are always placed under the field labels; Fix CSS overflow bug that occurs with the new Plone 4.0b5 comment styles svn path=/plone.app.discussion/trunk/; revision=37774 --- CHANGES.txt | 7 +++++++ plone/app/discussion/browser/stylesheets/discussion.css | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 94c3fdb..742dd94 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,13 @@ Changelog 1.0b5 (unreleased) ------------------ +* Make sure the form fields in the reply form are always placed under the field + labels. + [timo] + +* Fix CSS overflow bug that occurs with the new Plone 4.0b5 comment styles. + [timo] + * Unnecessary imports and variables removed. [timo] diff --git a/plone/app/discussion/browser/stylesheets/discussion.css b/plone/app/discussion/browser/stylesheets/discussion.css index 8deb390..459cdfa 100644 --- a/plone/app/discussion/browser/stylesheets/discussion.css +++ b/plone/app/discussion/browser/stylesheets/discussion.css @@ -18,7 +18,6 @@ .comment { min-height: 100px; - overflow: auto; } .commentImage { @@ -60,6 +59,13 @@ margin: 0 !important; } +.reply .text-widget { + /* Make sure the input fields are always below the label. This sometimes + * break when the reply form is copied from the main comment form. + */ + display: block; +} + .reply-to-comment-button { /* Hide the reply-to-comment button and show it only if Javascript * is enabled. Since the reply functions rely on jQuery.