Skip to content

Commit cb872e2

Browse files
committed
docstring
1 parent 0c967a5 commit cb872e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/textual/app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,9 @@ class MyApp(App[None]):
488488
This allows for styles to be responsive to the dimensions of the terminal.
489489
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.
490490
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.
492494
493495
Example:
494496
```python

0 commit comments

Comments
 (0)