Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Collapse panel sizing #453

Open
futuremint opened this issue Mar 25, 2016 · 0 comments
Open

Collapse panel sizing #453

futuremint opened this issue Mar 25, 2016 · 0 comments
Milestone

Comments

@futuremint
Copy link
Contributor

From @janxious:
Ran into an issue with some code that was in the following shape:

<ul class="list-group">
  <li class="list-group-item list-group-custom-thing-form" id="some-list-group-item">
    <input type="text" class="form-control" placeholder="thing name" name="thing-name" pattern="[A-Za-z0-9]+" required="required">
    <button type="button" class="btn btn-default btn-create"><i class="fuelux-icon fuelux-icon-plus-sign"></i>Add</button>
  </li>
  <li class="list-group-item">
    <a data-toggle="collapse" a href="#collapseExampleLink" aria-expanded="false" aria-controls="collapseExample">Watch collapse in action</a>
    <a data-toggle="collapse" aria-expanded="false" aria-controls="some-list-group-item" href="#some-list-group-item" class="btn btn-link"><i class="fuelux-icon fuelux-icon-plus-sign"></i>Add A Thing</a>
  </li>
</ul>

The un-collapse worked correctly, but the re-collapse left a partial height visible list-group-item. It seemed like it was the height of the padding/margin above the text input.

@chriscorwin chriscorwin modified the milestone: Backlog Apr 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants