danielstorey / adapt-expose

An Adapt Framework component which displays panels of content hidden behind front covers. Click to expose the content below
GNU General Public License v3.0
5 stars 16 forks source link

Minimum height #6

Closed hbaileylxd closed 7 years ago

hbaileylxd commented 7 years ago

Hi Dan,

Is it possible to have an optional minimum height setting as if you have slightly different amounts of text, they look a bit untidy!

image

danielstorey commented 7 years ago

Hi Helen,

Are you comfortable using less? You can give the .reveal-item-content class a fixed height. Either way leave this issue open as I think it will be a good idea to match all item heights to the highest one.

danielstorey commented 7 years ago

In latest version 1.1.0 heights are automatically set to match tallest item. This behaviour can be overridden - see README

hbaileylxd commented 7 years ago

Working fantastically now!