Skip to content

Commit

Permalink
demo(accordion): pointer cursor for accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
bekos authored and pkozlowski-opensource committed Dec 28, 2013
1 parent 0d0375d commit aee5cc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion misc/demo/assets/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ section {

}

.nav, .pagination, .carousel a {
.nav, .pagination, .carousel, .panel-title a {
cursor: pointer;
}

Expand Down
2 changes: 1 addition & 1 deletion misc/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ <h3>Installation</h3>
<p>You can fork one of the plunkers from this page to see a working example of what is described here.</p>
<h3>CSS</h3>
<p>Original Bootstrap's CSS depends on empty <code>href</code> attributes to style cursors for several components (pagination, tabs etc.).
But in AngularJS adding empty <code>href</code> attributes to link tags will cause unwanted route changes. This is why we need to remove empty <code>href</code> attributes from directive templates and as a result styling is not applied correctly. The remedy is simple, just add the following styling to your application: <pre><code>.nav, .pagination, .carousel a { cursor: pointer; }</code></pre>
But in AngularJS adding empty <code>href</code> attributes to link tags will cause unwanted route changes. This is why we need to remove empty <code>href</code> attributes from directive templates and as a result styling is not applied correctly. The remedy is simple, just add the following styling to your application: <pre><code>.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }</code></pre>
</p>
</section>
<% demoModules.forEach(function(module) { %>
Expand Down

0 comments on commit aee5cc8

Please sign in to comment.