diff --git a/Gemfile.lock b/Gemfile.lock index cb87e94597..e7ff5cc6b6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - zurb-foundation (4.0.9) + zurb-foundation (4.1.0) sass (>= 3.2.0) GEM diff --git a/docs/_sidebar-components.html.erb b/docs/_sidebar-components.html.erb index 554cd4e0f3..fa79e4dcdc 100644 --- a/docs/_sidebar-components.html.erb +++ b/docs/_sidebar-components.html.erb @@ -9,6 +9,7 @@
Foundation 4 was built to support right-to-left text direction out of the box, but you'll need to make a couple of adjustments to your markup and SCSS to get everything up and running.
+ +You'll need to make a few changes to your markup to get the javascript components working nice and smooth. In the html
tag, you'll need to add a dir
attribute with a value of rtl
. Here's what your html
tag should look like:
You'll need to change your lang
attribute value to match your language. Here's a handy list of common right-to-left languages and their html codes:
We made it really easy to switch the entire Foundation grid to right-to-left by changing the $text-direction
SCSS variable. Here's what the variable should look like:
By changing this single variable, the entire grid and all the Foundation components will be switched to right-to-left orientation.
+If you downloaded a static version of Foundation using the customizer to get a right-to-left support, your download should be ready to use without any of the steps mentioned above.
+ Download Right-to-Left Foundation 4 » +