~ihabunek/toot-discuss

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH tooi] MainScreen: hide the tab bar underline

Lexi Winter <lexi@le-Fay.ORG>
Details
Message ID
<20240110141711.51529-1-lexi@le-Fay.ORG>
DKIM signature
missing
Download raw message
Patch: +5 -1
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
Reply to thread Export thread (mbox)