diff --git a/cache.manifest b/cache.manifest index b42bf23c..21ffcc95 100644 --- a/cache.manifest +++ b/cache.manifest @@ -1 +1 @@ -CACHE MANIFEST # v11 CACHE: index.html css/main-min.css js/main-min.js js/require.js img/ajax-loader.gif img/glyphicons-halflings.png img/glyphicons-halflings-white.png img/icons.png img/stackedit-32.ico img/stackedit-promo.png NETWORK: * +CACHE MANIFEST # v12 CACHE: index.html css/main-min.css js/main-min.js js/require.js img/ajax-loader.gif img/glyphicons-halflings.png img/glyphicons-halflings-white.png img/icons.png img/stackedit-32.ico img/stackedit-promo.png NETWORK: * diff --git a/css/main-min.css b/css/main-min.css index 8d259199..286409be 100644 --- a/css/main-min.css +++ b/css/main-min.css @@ -5473,7 +5473,7 @@ hr { #wmd-input,#wmd-preview { position: absolute; } -#wmd-input { +#wmd-input, #md-section-helper { font-family: "Courier New", Courier, monospace; resize: none; border: none !important; @@ -5656,4 +5656,20 @@ blockquote p { margin-bottom: 20px; font-size: 14px; line-height: 20px; +} +#md-section-helper { + position: absolute; + top: -100px; + height: 1px; + padding: 0 6px; + overflow-y: scroll; + z-index: -1; +} +.gecko #md-section-helper { + + height: 40px; +} +.opera #md-section-helper { + + top: 0; } \ No newline at end of file diff --git a/css/main.css b/css/main.css index 045eb0b6..bc20c269 100644 --- a/css/main.css +++ b/css/main.css @@ -162,7 +162,7 @@ hr { position: absolute; } -#wmd-input { +#wmd-input, #md-section-helper { font-family: "Courier New", Courier, monospace; resize: none; border: none !important; @@ -384,4 +384,23 @@ blockquote p { margin-bottom: 20px; font-size: 14px; line-height: 20px; +} + +#md-section-helper { + position: absolute; + top: -100px; + height: 1px; + padding: 0 6px; + overflow-y: scroll; + z-index: -1; +} + +.gecko #md-section-helper { + /* Firefox doesn't show the scrollbar if height is less than 40px */ + height: 40px; +} + +.opera #md-section-helper { + /* Opera needs to have the textarea in the viewport to evaluate size correctly */ + top: 0; } \ No newline at end of file diff --git a/index.html b/index.html index fd700fb0..70a687eb 100644 --- a/index.html +++ b/index.html @@ -11,13 +11,15 @@ content="StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites."> - @@ -432,6 +434,13 @@ +