You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/textual/app.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -488,7 +488,9 @@ class MyApp(App[None]):
488
488
This allows for styles to be responsive to the dimensions of the terminal.
489
489
For instance, you might want to show less information, or fewer columns on a narrow displays -- or more information when the terminal is sized wider than usual.
490
490
491
-
A breakpoint consists of a tuple containing the width where the class is applied, and the name of the class to set.
491
+
A breakpoint consists of a tuple containing the minimum width where the class should applied, and the name of the class to set.
492
+
493
+
Note that only one class name is set, and if you should avoid having more than one breakpoint set for the same size.
0 commit comments