diff --git a/fwt/components/Column/Column.sass b/fwt/components/Column/Column.sass index 7a9309e..b26f108 100644 --- a/fwt/components/Column/Column.sass +++ b/fwt/components/Column/Column.sass @@ -1,4 +1,4 @@ -.top +.column-top display: flex flex-direction: column flex-wrap: wrap @@ -6,7 +6,7 @@ align-items: center align-content: center -.center +.column-center display: flex flex-direction: column flex-wrap: wrap @@ -14,7 +14,7 @@ align-items: center align-content: center -.right +.column-right display: flex flex-direction: column flex-wrap: wrap @@ -22,7 +22,7 @@ align-items: center align-content: center -.split +.column-split display: flex flex-direction: column flex-wrap: wrap @@ -30,7 +30,7 @@ align-items: center align-content: center -.spaced +.column-spaced display: flex flex-direction: column flex-wrap: wrap diff --git a/fwt/components/Column/Column.tsx b/fwt/components/Column/Column.tsx index 27e0e05..3f5c786 100644 --- a/fwt/components/Column/Column.tsx +++ b/fwt/components/Column/Column.tsx @@ -3,16 +3,16 @@ import './Column.sass' interface Props { children: JSXElement - content: 'top' | 'center' | 'right' | 'split' | 'spaced' + content?: 'top' | 'center' | 'right' | 'split' | 'spaced' gap?: number } export default (props: Props) => { return ( <> -
+
{props.children} -
+ ) } diff --git a/fwt/components/Row/Row.sass b/fwt/components/Row/Row.sass index a103f5c..6162bbe 100644 --- a/fwt/components/Row/Row.sass +++ b/fwt/components/Row/Row.sass @@ -1,4 +1,4 @@ -.left +.row-left display: flex flex-direction: row flex-wrap: wrap @@ -6,7 +6,7 @@ align-items: center align-content: center -.center +.row-center display: flex flex-direction: row flex-wrap: wrap @@ -14,7 +14,7 @@ align-items: center align-content: center -.right +.row-right display: flex flex-direction: row flex-wrap: wrap @@ -22,7 +22,7 @@ align-items: center align-content: center -.split +.row-split display: flex flex-direction: row flex-wrap: wrap @@ -30,7 +30,7 @@ align-items: center align-content: center -.spaced +.row-spaced display: flex flex-direction: row flex-wrap: wrap @@ -38,7 +38,7 @@ align-items: center align-content: center -.even +.row-even display: flex flex-direction: row flex-wrap: wrap diff --git a/fwt/components/Row/Row.tsx b/fwt/components/Row/Row.tsx index 0e3176b..5255e9c 100644 --- a/fwt/components/Row/Row.tsx +++ b/fwt/components/Row/Row.tsx @@ -3,7 +3,7 @@ import { Show, type JSXElement } from 'solid-js' interface Props { children: JSXElement - content: 'left' | 'center' | 'right' | 'split' | 'spaced' | 'even' + content?: 'left' | 'center' | 'right' | 'split' | 'spaced' | 'even' gap?: number } @@ -11,13 +11,13 @@ export default (props: Props) => { return ( <> -
+
{props.children} -
+
-
{props.children}
+
{props.children}
)