Browse Source

Fixed an Internet Explorer 8 bug in which the toolbar was positioned incorrectly.

Dan Helfman 8 years ago
parent
commit
9a284e7b76
3 changed files with 41 additions and 1 deletions
  1. 2 0
      NEWS
  2. 38 0
      static/css/ie8.css
  3. 1 1
      view/Page.py

+ 2 - 0
NEWS View File

@@ -5,6 +5,8 @@
5 5
    typed text after the link does not become linked itself.
6 6
  * Fixed a Firefox 3.5 bug in which bold mode (or italics mode) would
7 7
    inexplicably end after typing a few characters.
8
+ * Fixed an Internet Explorer 8 bug in which the toolbar was positioned
9
+   incorrectly.
8 10
 
9 11
 1.6.14: June 14, 2009
10 12
  * Fixed a bug in which some printed or exported notes appeared in

+ 38 - 0
static/css/ie8.css View File

@@ -0,0 +1,38 @@
1
+#note_tree_area_holder {
2
+  overflow: auto;
3
+  height: expression( eval( documentElement.offsetHeight - 100 ) );
4
+}
5
+
6
+#link_area_holder {
7
+  overflow: auto;
8
+  height: expression( eval( documentElement.offsetHeight - 100 ) );
9
+}
10
+
11
+#left_area {
12
+  width: auto;
13
+  margin-left: auto;
14
+}
15
+
16
+#link_area {
17
+  width: 20%;
18
+  margin-left: -20%;
19
+}
20
+
21
+#right_area {
22
+  width: auto;
23
+  margin-left: auto;
24
+}
25
+
26
+.note_frame {
27
+  margin-bottom: 1em;
28
+}
29
+
30
+.static_note_contents a[target ^= "_new"] {
31
+  background: none;
32
+  padding: 0;
33
+}
34
+
35
+.note_grabber {
36
+  position: relative;
37
+  left: 4px;
38
+}

+ 1 - 1
view/Page.py View File

@@ -21,7 +21,7 @@ class Page( Html ):
21 21
         Title( title and u"%s: %s" % ( app_name, title ) or app_name ),
22 22
         """<!--[if IE 6]><link href="/static/css/ie6.css?%s" type="text/css" rel="stylesheet"></link><![endif]-->""" % VERSION,
23 23
         """<!--[if IE 7]><link href="/static/css/ie7.css?%s" type="text/css" rel="stylesheet"></link><![endif]-->""" % VERSION,
24
-        """<!--[if IE 8]><link href="/static/css/ie7.css?%s" type="text/css" rel="stylesheet"></link><![endif]-->""" % VERSION,
24
+        """<!--[if IE 8]><link href="/static/css/ie8.css?%s" type="text/css" rel="stylesheet"></link><![endif]-->""" % VERSION,
25 25
       ),
26 26
       Body(
27 27
         Div(