From 9bee4a3c0857a1f0f5899eecb82012133544fcd6 Mon Sep 17 00:00:00 2001 From: Michael Small Date: Wed, 27 Nov 2024 11:03:13 -0600 Subject: [PATCH] docs: fix `IMPORTANT` for "Animating the items of a reordering list" (#58938) The specialized `IMPORTANT` highlighting was not being applied to the message, due to a line break. PR Close #58938 --- adev/src/content/guide/animations/complex-sequences.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/adev/src/content/guide/animations/complex-sequences.md b/adev/src/content/guide/animations/complex-sequences.md index 34d75734c5f..c8cff5529a8 100644 --- a/adev/src/content/guide/animations/complex-sequences.md +++ b/adev/src/content/guide/animations/complex-sequences.md @@ -115,8 +115,7 @@ This is because it will lose track of which element is which, resulting in broke The only way to help Angular keep track of such elements is by assigning a `TrackByFunction` to the `NgForOf` directive. This makes sure that Angular always knows which element is which, thus allowing it to apply the correct animations to the correct elements all the time. -IMPORTANT: -If you need to animate the items of an `*ngFor` list and there is a possibility that the order of such items will change during runtime, always use a `TrackByFunction`. +IMPORTANT: If you need to animate the items of an `*ngFor` list and there is a possibility that the order of such items will change during runtime, always use a `TrackByFunction`. ## Animations and Component View Encapsulation