Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix gallery margin while typing. (#10221)
#10027 introduced a small bug where the last item in a gallery jumps around when a user is in the process of adding a caption. This is due to a `:nth-last-child(2)` style rule that is applied to a gallery when it has an `is-selected` class, but not an `is-typing` class. This PR modifies that rule to include the `is-typing` class and remove the jump.
- Loading branch information