This gives us one extra vertical line, and avoids an annoying visual
issue where the tab bar animation happens after the new tab is mounted,
which makes the tab switch feel slower than it actually it.
---
tooi/screens/main.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tooi/screens/main.py b/tooi/screens/main.py
index d7b7202..18b2542 100644
--- a/tooi/screens/main.py+++ b/tooi/screens/main.py
@@ -20,7 +20,7 @@ class MainScreen(Screen[None]):
DEFAULT_CSS = """
Tabs {
- height: 2;+ height: 1; #tabs-list {
min-height: 1;
@@ -40,6 +40,10 @@ class MainScreen(Screen[None]):
height: 2;
dock: bottom;
}
++ Underline {+ display: none+ } """
BINDINGS = [
--
2.43.0