This repository was archived by the owner on May 29, 2019. It is now read-only.
File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,11 @@ section {
69
69
border-top : 1px solid rgba (255 , 255 , 255 , 0.3 );
70
70
border-bottom : 1px solid rgba (221 , 221 , 221 , 0.3 );
71
71
}
72
+
73
+ .nav , .pagination , .carousel a {
74
+ cursor : pointer;
75
+ }
76
+
72
77
.bs-docs-social-buttons {
73
78
margin-left : 0 ;
74
79
margin-bottom : 0 ;
Original file line number Diff line number Diff line change @@ -156,6 +156,17 @@ <h3>Installation</h3>
156
156
< code > angular.module('myModule', ['ui.bootstrap']);</ code >
157
157
</ p >
158
158
< p > You can fork one of the plunkers from this page to see a working example of what is described here.</ p >
159
+ < h3 > CSS</ h3 >
160
+ < p > Original Bootstrap's CSS depends on empty < code > href</ code > attributes to style cursors for several components (pagination, tabs etc.).
161
+ But in AngularJS adding empty < code > href</ code > attributes to link tags will cause unwanted route changes.
162
+ This is why we need to remove empty < code > href</ code > attributes from directive templates and as a result
163
+ styling is not applied correctly. The remedy is simple, just add the following styling to your application:
164
+ < code >
165
+ .nav, .pagination, .carousel a {
166
+ cursor: pointer;
167
+ }
168
+ </ code >
169
+ </ p >
159
170
</ div >
160
171
</ div >
161
172
</ section >
You can’t perform that action at this time.
0 commit comments