cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject [2/2] docs commit: Added margin to the not latest warning alert
Date Sat, 19 Sep 2015 22:00:37 GMT
Added margin to the not latest warning alert


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/ecb170ed
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/ecb170ed
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/ecb170ed

Branch: refs/heads/cordova-website
Commit: ecb170edc99abb9ae5f36f656a4e7d8595728049
Parents: 39f76cd
Author: riknoll <riknoll@microsoft.com>
Authored: Fri Sep 18 15:40:10 2015 -0700
Committer: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Committed: Sat Sep 19 14:58:59 2015 -0700

----------------------------------------------------------------------
 www/_layouts/docs.html        | 2 +-
 www/static/css-src/_docs.scss | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/ecb170ed/www/_layouts/docs.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs.html b/www/_layouts/docs.html
index 4e3bd4c..188be6e 100644
--- a/www/_layouts/docs.html
+++ b/www/_layouts/docs.html
@@ -155,7 +155,7 @@ analytics_id: UA-64283057-1
         <!-- Show warning if this version isn't the latest -->
         {% if page.version != 'edge' %}
         <a href="{{ site.baseurl }}/docs/{{ page.language }}/edge">
-            <div class="alert alert-warning" role="alert">
+            <div class="alert alert-warning not-latest-version-alert" role="alert">
                 <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
                 {{ page.not_latest_warning_text }}
             </div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/ecb170ed/www/static/css-src/_docs.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_docs.scss b/www/static/css-src/_docs.scss
index b02296b..d698746 100644
--- a/www/static/css-src/_docs.scss
+++ b/www/static/css-src/_docs.scss
@@ -122,6 +122,10 @@
         }
     }
 
+    .not-latest-version-alert {
+        margin-top: 22px;
+    }
+
     /* Formatting for compatibility table on plugin docs page */
     .compat {
         td {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message