mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
narrow down rules
This commit is contained in:
@@ -52,3 +52,6 @@ Button {
|
||||
visibility: hidden
|
||||
}
|
||||
|
||||
/* #timers:hover {
|
||||
background: blue;
|
||||
} */
|
||||
|
||||
@@ -88,6 +88,7 @@ class StopwatchApp(App):
|
||||
new_stopwatch = Stopwatch()
|
||||
self.query_one("#timers").mount(new_stopwatch)
|
||||
new_stopwatch.scroll_visible()
|
||||
self.sub_title = str(len(self.query("Stopwatch")))
|
||||
|
||||
def action_remove_stopwatch(self) -> None:
|
||||
"""Called to remove a timer."""
|
||||
|
||||
Reference in New Issue
Block a user