From 593c756ca05e394f7f77f33bb64fc441a07b2bef Mon Sep 17 00:00:00 2001 From: Chris Corwin Date: Thu, 3 Dec 2015 12:38:25 -0500 Subject: [PATCH] Puts the last datepicker example in a columnized form to make it less wide. Adds margin to the last example section so the calendar widget doesn't hug the bottom of the page --- _includes/js/datepicker.html | 36 ++++++++++++++++++++---------------- assets/css/fuelux-site.css | 4 ++++ 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/_includes/js/datepicker.html b/_includes/js/datepicker.html index d2a68ec0..b0527f09 100644 --- a/_includes/js/datepicker.html +++ b/_includes/js/datepicker.html @@ -4,16 +4,16 @@

Datepicker datepicker.js

The datepicker() control provides the user with the ability to choose a date from a highly customizable calender. Datepicker also offers many methods that allow you to programmatically manipulate it.

-
-
- -
-
- {% include js/datepicker-example.html %} + +
+ +
+
+ {% include js/datepicker-example.html %} +
-
- +
@@ -231,18 +231,20 @@ $('#myDatepicker').on('change dateClicked.fu.datepicker', function (evt, date) {

Choose a date from a calendar dropdown, with input parsing and formatting. Works with moment.js for extended functionality.

To support various date formats around the world, datepicker() has an optional dependency on moment.js. Download moment.js (with locales).

+
-
- -
-
- {% include js/datepicker-example.html %} +
+
+ +
+
+ {% include js/datepicker-example.html %} +
-
+
-
Sample Methods
@@ -254,5 +256,7 @@ $('#myDatepicker').on('change dateClicked.fu.datepicker', function (evt, date) {
-
+
+ +
\ No newline at end of file diff --git a/assets/css/fuelux-site.css b/assets/css/fuelux-site.css index 67462983..d20f9232 100644 --- a/assets/css/fuelux-site.css +++ b/assets/css/fuelux-site.css @@ -52,6 +52,10 @@ color: #333; } +#fuelux-site-body .fu-example.section:last-child { + margin-bottom: 200px; +} + h1 .header-anchor{ left:-1px; }