This commit is contained in:
Patrick Alvin Alcala 2026-03-12 19:27:56 +08:00
parent 6fb5145b16
commit bb58c17286
24 changed files with 129 additions and 57 deletions

View file

@ -1,4 +1,5 @@
import type { JSXElement } from 'solid-js'
import '../styles/Padding.sass'
interface Props {
left: number
@ -9,5 +10,5 @@ interface Props {
}
export default (props: Props) => {
return <div style={{ padding: `${props.top || 0}rem ${props.right}rem ${props.bottom || 0}rem ${props.left}rem` }}>{props.children}</div>
return <div class='padding' style={{ padding: `${props.top || 0}rem ${props.right}rem ${props.bottom || 0}rem ${props.left}rem` }}>{props.children}</div>
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Before After
Before After

View file

@ -0,0 +1,2 @@
.padding
width: 100%

View file

@ -5,6 +5,7 @@
justify-content: flex-start
align-items: center
align-content: center
width: 100%
.dasig-row-center
display: flex
@ -13,6 +14,7 @@
justify-content: center
align-items: center
align-content: center
width: 100%
.dasig-row-right
display: flex
@ -21,6 +23,7 @@
justify-content: flex-end
align-items: center
align-content: center
width: 100%
.dasig-row-split
display: flex
@ -29,6 +32,7 @@
justify-content: space-between
align-items: center
align-content: center
width: 100%
.dasig-row-spaced
display: flex
@ -37,6 +41,7 @@
justify-content: space-around
align-items: center
align-content: center
width: 100%
.dasig-row-even
display: flex
@ -45,3 +50,4 @@
justify-content: space-evenly
align-items: center
align-content: center
width: 100%