From 11c2eafd5b07ec246e755e0fa0a0255c6d64e3be Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Mon, 14 Oct 2024 14:02:59 +0100 Subject: [PATCH] Tree ansi styling fix. Remove trailing whitespace --- src/textual/widgets/_tree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/textual/widgets/_tree.py b/src/textual/widgets/_tree.py index 5f8746aff6..5226e743cd 100644 --- a/src/textual/widgets/_tree.py +++ b/src/textual/widgets/_tree.py @@ -639,7 +639,7 @@ class Tree(Generic[TreeDataType], ScrollView, can_focus=True): background: ansi_default; color: ansi_default; & > .tree--guides { - color: green; + color: ansi_green; } & > .tree--guides-hover { color: ansi_blue; @@ -652,7 +652,7 @@ class Tree(Generic[TreeDataType], ScrollView, can_focus=True): & > .tree--cursor { background: ansi_bright_blue; color: ansi_default; - text-style: none; + text-style: none; } &:nocolor > .tree--cursor{ text-style: reverse;