]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update forms.md 11283/head
authorAdam Klepacz <adamklepacz92@gmail.com>
Sun, 20 May 2018 19:17:34 +0000 (21:17 +0200)
committerGitHub <noreply@github.com>
Sun, 20 May 2018 19:17:34 +0000 (21:17 +0200)
I have changed classes in #### Checkboxes and Radio Buttons cause in yours HTML EXAMPLE third checkbox was collapsing to the next line.
Now it displays proper

docs/pages/forms.md

index 211966a7289ae03b1210a408ca401e9ee2898d85..76ea42b24d1b1025a3d083a10f542f78d5f61081 100644 (file)
@@ -150,13 +150,13 @@ Wrap a group of checkboxes or radio buttons in a `<fieldset>` element, and give
 
 ```html_example
 <div class="grid-x grid-padding-x">
-  <fieldset class="large-6 cell">
+  <fieldset class="large-5 cell">
     <legend>Choose Your Favorite</legend>
     <input type="radio" name="pokemon" value="Red" id="pokemonRed" required><label for="pokemonRed">Red</label>
     <input type="radio" name="pokemon" value="Blue" id="pokemonBlue"><label for="pokemonBlue">Blue</label>
     <input type="radio" name="pokemon" value="Yellow" id="pokemonYellow"><label for="pokemonYellow">Yellow</label>
   </fieldset>
-  <fieldset class="large-6 cell">
+  <fieldset class="large-7 cell">
     <legend>Check these out</legend>
     <input id="checkbox1" type="checkbox"><label for="checkbox1">Checkbox 1</label>
     <input id="checkbox2" type="checkbox"><label for="checkbox2">Checkbox 2</label>