From fd79807eb7382e92233cecb2bf63327ac4ecb816 Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Thu, 12 Dec 2024 16:27:10 +0000 Subject: [PATCH] fix(stylesheet): fix last-of-type --- src/textual/css/stylesheet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/css/stylesheet.py b/src/textual/css/stylesheet.py index 82f4ffae77..0bea5504e2 100644 --- a/src/textual/css/stylesheet.py +++ b/src/textual/css/stylesheet.py @@ -437,7 +437,7 @@ def _check_rule( # These shouldn't be used in a cache key _EXCLUDE_PSEUDO_CLASSES_FROM_CACHE: Final[set[str]] = { "first-of-type", - "last-of_type", + "last-of-type", "odd", "even", "focus-within",