Skip to content

Commit

Permalink
Merge pull request #10 from stan-donarise/expandable_bound_props
Browse files Browse the repository at this point in the history
prop label flex grow
  • Loading branch information
nin-jin authored Mar 27, 2023
2 parents dc8dff8 + 08f98fe commit bfb4006
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
18 changes: 9 additions & 9 deletions prop/prop.view.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@ namespace $.$$ {
const { px, rem, per } = $mol_style_unit

$mol_style_define( $hyoo_studio_prop, {
width: per(100),
flex: {
grow: 1,
},
outline: `solid 1px var(--mol_theme_line)`,
border: {
radius: $mol_gap.round,
},
backgroundColor: 'hsl( var( --mol_theme_hue), calc( var(--mol_theme_satur) * 39% ), calc( 55% + 41% * var(--mol_theme_luma) ) )',
background: {
color: $mol_theme.card,
},

Value: {
flex: {
grow: 1,
},
padding: $mol_gap.space,
},

Type: {
Expand All @@ -26,10 +25,6 @@ namespace $.$$ {
},
},

Inner: {
padding: $mol_gap.space,
},

Over_props: {
gap: $mol_gap.space,
flex: {
Expand Down Expand Up @@ -68,7 +63,12 @@ namespace $.$$ {
wrap: 'wrap',
grow: 1,
},
width: rem(24),
},

Trigger: {
flex: {
grow: 1,
},
},

Prop_tools: {
Expand Down
1 change: 0 additions & 1 deletion studio.view.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ namespace $.$$ {
Props: {
padding: $mol_gap.block,
gap: $mol_gap.block,
alignItems: 'flex-start',
},

Source_page: {
Expand Down

0 comments on commit bfb4006

Please sign in to comment.