RoboZonky / natural-strategy-setup

Webový konfigurátor investiční strategie pro RoboZonky
https://robozonky.github.io/konfigurace-strategie/
2 stars 1 forks source link

Bootstrap card doesn't resize after its content's height changes #8

Closed jhrcek closed 7 years ago

jhrcek commented 7 years ago

There's a problem with bootstrap's accordion size: The height of expanded card is determined by the height of its content. But when the content height changes, the card remains the same. This requires empty div hack (Issue #8) to make make the table validation error in "Struktura portfolia" visible. Without it, when user selects "empty" portfolio, the size of table changes, which makes the validation error below it invisible.

jhrcek commented 7 years ago

Issue has been raised in elm-bootstrap repository.

jhrcek commented 7 years ago

Workaround has been implemented in https://github.com/RoboZonky/natural-strategy-setup/commit/8924032f114b64b0bb1be96051e3fa4a012d7daa. The fix needs to be revisited in case elm-bootstrap fixes the original issue.