~ihabunek/toot-discuss

tooi: MainScreen: hide the tab bar underline v1 APPLIED

Lexi Winter: 1
 MainScreen: hide the tab bar underline

 1 files changed, 5 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~ihabunek/toot-discuss/patches/48481/mbox | git am -3
Learn more about email & git

[PATCH tooi] MainScreen: hide the tab bar underline Export this patch

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