Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 16f6b71

Browse files
committed
docs(guide/animations): fix code block styling
1 parent a9903e2 commit 16f6b71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/content/guide/animations.ngdoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,10 +430,12 @@ You can prevent this unwanted behavior by adding CSS to the `.ng-animate` class
430430
for the whole duration of an animation. Simply overwrite the transition / animation duration. In the
431431
case of the spinner, this would be:
432432

433+
```css
433434
.spinner.ng-animate {
434435
transition: 0s none;
435436
animation: 0s none;
436437
}
438+
```
437439

438440
If you do have CSS transitions / animations defined for the animation events, make sure they have higher priority
439441
than any styles that are independent from ngAnimate.

0 commit comments

Comments
 (0)