Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

"Bug" in Accordion Documentation Example #6378

Closed
crazyjat opened this issue Dec 16, 2016 · 0 comments
Closed

"Bug" in Accordion Documentation Example #6378

crazyjat opened this issue Dec 16, 2016 · 0 comments

Comments

@crazyjat
Copy link

crazyjat commented Dec 16, 2016

The issues forum is NOT for support requests. It is for bugs and feature requests only.
Please read https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md and search
existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.

Bug description:

The accordion custom template example listed at https://angular-ui.github.io/bootstrap/#/accordion is applying a duplicate panel and panel-default style causing a thicker than intended box shadow.

    <div class="panel panel-default">
      <div class="panel-heading">
        <h4 class="panel-title" style="color:#fa39c3">
          <a href="" tabindex="0" class="accordion-toggle" ng-click="toggleOpen()" uib-accordion-transclude="heading">
            <span uib-accordion-header="" ng-class="{'text-muted': isDisabled}" class="ng-binding">
              Custom template
            </span>
          </a>
        </h4>
      </div>
      <div class="panel-collapse collapse" uib-collapse="!isOpen" aria-expanded="false" aria-hidden="true" style="height: 0px;">
        <div class="panel-body" style="text-align: right" ng-transclude=""><span class="ng-scope">
      Hello
    </span></div>
      </div>
    </div>
  </div>

Link to minimally-working plunker that reproduces the issue:

https://plnkr.co/edit/f9wpGPML37g3hh0suPuK?p=preview

Version of Angular, UIBS, and Bootstrap

n/a

Angular: n/a

UIBS: n/a

Bootstrap: n/a

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

1 participant