Skip to content

Commit

Permalink
Update playbook/app/pb_kits/playbook/pb_flex/flex_item.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperfurniss authored Oct 15, 2024
1 parent 1b260eb commit baaec0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playbook/app/pb_kits/playbook/pb_flex/flex_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def inline_styles
styles = []
styles << "flex-basis: #{fixed_size};" if fixed_size.present?
styles << "height: #{height};" if height.present?
styles << "min-height: #{min_height};" if min_height.present?
styles << "max-height: #{max_height};" if max_height.present?
styles.join(" ")
end

Expand Down

0 comments on commit baaec0d

Please sign in to comment.