diff --git a/packages/generator-electrode/generators/app/templates/src/client/components/demo-pure-states.jsx b/packages/generator-electrode/generators/app/templates/src/client/components/demo-pure-states.jsx index ed77e1d32..205a58fa6 100644 --- a/packages/generator-electrode/generators/app/templates/src/client/components/demo-pure-states.jsx +++ b/packages/generator-electrode/generators/app/templates/src/client/components/demo-pure-states.jsx @@ -15,19 +15,17 @@ const DemoPureStates = props => {
Demo Managing States in Pure Functional Component
-
- {checked ? "checked" : "unchecked"} -
+
{checked ? "checked" : "unchecked"}
-
{value}
+
{value}
diff --git a/packages/generator-electrode/generators/app/templates/src/client/components/demo-states.jsx b/packages/generator-electrode/generators/app/templates/src/client/components/demo-states.jsx index 5aecafc20..342f1ceaa 100644 --- a/packages/generator-electrode/generators/app/templates/src/client/components/demo-states.jsx +++ b/packages/generator-electrode/generators/app/templates/src/client/components/demo-states.jsx @@ -11,19 +11,19 @@ class DemoStates extends React.Component {
Demo Managing States with Redux
-
+
{checked ? "checked" : "unchecked"}
-
{value}
+
{value}
diff --git a/packages/generator-electrode/generators/app/templates/src/client/components/home.jsx b/packages/generator-electrode/generators/app/templates/src/client/components/home.jsx index 1a4f33bd3..258e24708 100644 --- a/packages/generator-electrode/generators/app/templates/src/client/components/home.jsx +++ b/packages/generator-electrode/generators/app/templates/src/client/components/home.jsx @@ -15,9 +15,7 @@ */ import React from "react"; -import "../styles/normalize.css"; import "../styles/raleway.css"; -import skeleton from "../styles/skeleton.css"; import custom from "../styles/custom.css"; import electrodePng from "../images/electrode.png"; import DemoStates from "./demo-states"; @@ -34,7 +32,7 @@ export default () => ( {/*<% } %>*/}
-

+

Hello from {"Electrode"} diff --git a/packages/generator-electrode/generators/app/templates/src/client/styles/custom.css b/packages/generator-electrode/generators/app/templates/src/client/styles/custom.css index 1c3d9bbe1..b033fae13 100644 --- a/packages/generator-electrode/generators/app/templates/src/client/styles/custom.css +++ b/packages/generator-electrode/generators/app/templates/src/client/styles/custom.css @@ -11,7 +11,7 @@ .docs-header { text-transform: uppercase; font-size: 1.4rem; - letter-spacing: .2rem; + letter-spacing: 0.2rem; font-weight: 600; } .docs-section { @@ -19,7 +19,9 @@ padding: 4rem 0; margin-bottom: 0; } -.docs-example .row, .docs-example.row, .docs-example { +.docs-example .row, +.docs-example.row, +.docs-example { margin-bottom: 0; } .docs-example h1, @@ -63,3 +65,20 @@ img { margin: 50px 0; text-align: center; } + +.checkbox-label { + display: inline-block; + text-align: center; +} + +.checkbox-label-width10rem { + width: 10rem; + display: inline-block; + text-align: center; +} + +.checkbox-label-width6rem { + width: 6rem; + display: inline-block; + text-align: center; +}