From: Tom Hughes Date: Fri, 23 Mar 2012 00:19:06 +0000 (+0000) Subject: Make sure text in Markdown help is aligned correctly X-Git-Tag: live~5634 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/365163929d32b820f3c5d0b639efd26479690638 Make sure text in Markdown help is aligned correctly --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 735f36408..b6aaf7371 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -1087,7 +1087,6 @@ abbr.geo { display: inline-block; vertical-align: top; background-color: #ddd; - margin-left: 15px; padding: 5px 10px 10px 10px; font-size: 12px; @@ -1097,7 +1096,6 @@ abbr.geo { th { vertical-align: top; - padding: 0px 15px 0px 0px !important; } td { @@ -1108,12 +1106,10 @@ abbr.geo { input.richtext_doedit { margin-top: 5px !important; - margin-right: 10px !important; } input.richtext_dopreview { margin-top: 5px !important; - margin-left: 10px !important; } } } diff --git a/app/assets/stylesheets/ltr.css.scss b/app/assets/stylesheets/ltr.css.scss index 38dfe1b8c..bbfebdbc1 100644 --- a/app/assets/stylesheets/ltr.css.scss +++ b/app/assets/stylesheets/ltr.css.scss @@ -215,3 +215,28 @@ input.openid_url { background: image-url('openid_input.png') repeat-y left white; padding-left: 16px; } + +/* Rules for rich text editors */ + +.richtext_container { + .richtext_help { + margin-left: 15px; + + th { + text-align: left; + padding: 0px 15px 0px 0px !important; + } + + td { + text-align: left; + } + + input.richtext_doedit { + margin-right: 10px !important; + } + + input.richtext_dopreview { + margin-left: 10px !important; + } + } +} diff --git a/app/assets/stylesheets/rtl.css.scss b/app/assets/stylesheets/rtl.css.scss index a8cf95cd3..439877669 100644 --- a/app/assets/stylesheets/rtl.css.scss +++ b/app/assets/stylesheets/rtl.css.scss @@ -215,3 +215,28 @@ input.openid_url { background: image-url('openid_input.png') repeat-y right white; padding-right: 16px; } + +/* Rules for rich text editors */ + +.richtext_container { + .richtext_help { + margin-right: 15px; + + th { + text-align: right; + padding: 0px 0px 0px 15px !important; + } + + td { + text-align: right; + } + + input.richtext_doedit { + margin-left: 10px !important; + } + + input.richtext_dopreview { + margin-right: 10px !important; + } + } +}