From e172df26f25a46ebc673fc016ee7dad2b4defa97 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 4 Mar 2017 18:19:09 +0800 Subject: Add tabindex note to the dropdowns docs --- docs/components.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index dddf425..76e6c60 100644 --- a/docs/components.html +++ b/docs/components.html @@ -688,7 +688,7 @@

Dropdown menus component is built entirely in CSS. It is triggered by :focus event.

-

Add a container element with the class dropdown. And add a focusable element with the classname dropdown-toggle for the button and a menu component right next to it. If the dropdown is close to the right edge of the browser, you can add the class dropdown-right to the container to prevent it appearing off screen.

+

Add a container element with the class dropdown. And add a focusable element with the classname dropdown-toggle for the button and a menu component right next to it. You also need to add tabindex to make the buttons focusable. If the dropdown is close to the right edge of the browser, you can add the class dropdown-right to the container to prevent it appearing off screen.

Also, you can implement your JS to interact with the dropdown menus by adding the class active to the dropdown.

-- cgit v1.3.1-23-gd82d From a5079bf1821491157d9119e12c8e55552a7f4422 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sun, 5 Mar 2017 13:40:40 +0800 Subject: Add shrink-to-fit=no to head meta --- docs/components.html | 2 +- docs/elements.html | 2 +- docs/experimentals.html | 2 +- docs/index.html | 2 +- docs/layout.html | 2 +- docs/utilities.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 76e6c60..9c4186b 100644 --- a/docs/components.html +++ b/docs/components.html @@ -3,7 +3,7 @@ - + Components - Spectre.css diff --git a/docs/elements.html b/docs/elements.html index 1256159..b3a5003 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -3,7 +3,7 @@ - + Elements - Spectre.css diff --git a/docs/experimentals.html b/docs/experimentals.html index d0ec507..e246efa 100644 --- a/docs/experimentals.html +++ b/docs/experimentals.html @@ -3,7 +3,7 @@ - + Experimentals - Spectre.css diff --git a/docs/index.html b/docs/index.html index 0811772..492b504 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,7 +3,7 @@ - + Spectre.css - The lightweight, responsive and modern CSS framework diff --git a/docs/layout.html b/docs/layout.html index 343c73c..b5991fb 100644 --- a/docs/layout.html +++ b/docs/layout.html @@ -3,7 +3,7 @@ - + Layout - Spectre.css diff --git a/docs/utilities.html b/docs/utilities.html index b4d0b49..bf68b4f 100644 --- a/docs/utilities.html +++ b/docs/utilities.html @@ -3,7 +3,7 @@ - + Utilities - Spectre.css -- cgit v1.3.1-23-gd82d