From 7edff2dad305481601cdd6c876d24fd7a4f3f9a3 Mon Sep 17 00:00:00 2001 From: Johannes Dahlström Date: Wed, 25 Jul 2012 11:08:36 +0000 Subject: Make a read-only RichTextArea scrollable (#7036) svn changeset:24024/svn branch:6.8 --- WebContent/VAADIN/themes/base/textfield/richtext.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'WebContent/VAADIN/themes/base/textfield') diff --git a/WebContent/VAADIN/themes/base/textfield/richtext.css b/WebContent/VAADIN/themes/base/textfield/richtext.css index a304fa2a57..98726756f5 100644 --- a/WebContent/VAADIN/themes/base/textfield/richtext.css +++ b/WebContent/VAADIN/themes/base/textfield/richtext.css @@ -1,12 +1,19 @@ .v-richtextarea { border: 1px solid #aaa; - overflow: hidden; } .v-richtextarea .gwt-RichTextArea { background: #fff; border: none; } +/* IE6 needs a hack to render the editor with a correct height */ +.v-ie6 .v-richtextarea { + overflow: hidden; +} +.v-ie6 .v-scrollable { + overflow: auto; +} + .v-richtextarea .gwt-RichTextToolbar { white-space: nowrap; background: #959595 url(img/richtext-toolbar-bg.png) repeat-x 0 -42px; -- cgit v1.2.3