summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/textfield
diff options
context:
space:
mode:
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>2012-07-25 11:08:36 +0000
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>2012-07-25 11:08:36 +0000
commit7edff2dad305481601cdd6c876d24fd7a4f3f9a3 (patch)
treeefc10fa2472d17af64f77c4420ef1fbbf9a1d5b9 /WebContent/VAADIN/themes/base/textfield
parent6a04a73a812000c8d1f5f9a994475c571b88c498 (diff)
downloadvaadin-framework-7edff2dad305481601cdd6c876d24fd7a4f3f9a3.tar.gz
vaadin-framework-7edff2dad305481601cdd6c876d24fd7a4f3f9a3.zip
Make a read-only RichTextArea scrollable (#7036)
svn changeset:24024/svn branch:6.8
Diffstat (limited to 'WebContent/VAADIN/themes/base/textfield')
-rw-r--r--WebContent/VAADIN/themes/base/textfield/richtext.css9
1 files changed, 8 insertions, 1 deletions
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;