Skip to content

Commit 3cd079a

Browse files
authored
Merge pull request #5387 from TomJGooding/fix-stylesheet-fix-last-of-type
fix(stylesheet): fix last-of-type
2 parents 5cb6cd0 + fd79807 commit 3cd079a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/css/stylesheet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def _check_rule(
437437
# These shouldn't be used in a cache key
438438
_EXCLUDE_PSEUDO_CLASSES_FROM_CACHE: Final[set[str]] = {
439439
"first-of-type",
440-
"last-of_type",
440+
"last-of-type",
441441
"odd",
442442
"even",
443443
"focus-within",

0 commit comments

Comments
 (0)