Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-10-22 17:12:31 +0400
committerVincent Petry <pvince81@owncloud.com>2013-10-22 17:12:31 +0400
commit8ee76653af397222ecddc5713bf48f6cb112437c (patch)
tree3f5b66653b70b36a816f169822e1fad816c7c67b /css
parentc4f10175536d453cdd2a63560aa2f24625cf7be7 (diff)
Fixed misplaced cursor in IE8
The CSS reset in core/js/styles.css defines font-size: 100% on most elements. This messes up the font size calculations of ACE in IE8. This IE8 specific fix overrides the font-size using a fixed size to make it work.
Diffstat (limited to 'css')
-rw-r--r--css/style.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/css/style.css b/css/style.css
index e628a07..c3ddc18 100644
--- a/css/style.css
+++ b/css/style.css
@@ -1,3 +1,8 @@
+.ie8 #editor_container div{
+ /* override core style.css font-size:100% that messes up the editor in IE8 */
+ font-size: 12px !important;
+}
+
#editor_container #editor {
position: relative;
display: block;