diff options
author | jomo <github@jomo.tv> | 2015-08-30 19:54:32 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2015-08-30 19:54:32 +0200 |
commit | 3a93273cee5d1afcee6faa0531f592e3d69d9327 (patch) | |
tree | b9f23b976d7ebed559d0d21a160cad9f62d8e6cb | |
parent | 9edbdb7d553b925af55fdaa3a7448d8599e5cd37 (diff) |
fix inconsistency between Chrome & FF
In Firefox a <textarea> with a padding-top preserves the padding when scrolling down,
whereas in Chrome the padding will scroll up altogether with the content
-rw-r--r-- | app/assets/stylesheets/style.css.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/stylesheets/style.css.scss b/app/assets/stylesheets/style.css.scss index 6e43d3c..6be17f0 100644 --- a/app/assets/stylesheets/style.css.scss +++ b/app/assets/stylesheets/style.css.scss @@ -468,7 +468,8 @@ blockquote p { } .editor_field { - padding-top: 4em; + padding: 0 1em 1em; + border-top: 4em solid transparent; min-height: 5em; margin: 0; } |