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
"""List of horizontal breakpoints for responsive classes.
487
+
488
+
This allows for styles to be responsive to the dimensions of the terminal.
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.
487
490
488
-
A breakpoint consists of a tuple containing the width where the class is set, and the classname to set.
491
+
A breakpoint consists of a tuple containing the width where the class is applied, and the name of the class to set.
489
492
490
493
Example:
491
494
```python
492
495
# Up to 80 cells wide, the app has the class "-normal"
493
496
# 80 - 119 cells wide, the app has the class "-wide"
494
497
# 120 cells or wider, the app has the class "-very-wide"
"""List of vertical breakpoints for responsive classes.
501
504
502
-
Contents are the same as `HORIZONTAL_BREAKPOINTS`, but the integer is compared to the height, rather than the width.
505
+
Contents are the same as [`HORIZONTAL_BREAKPOINTS`][textual.app.App.HORIZONTAL_BREAKPOINTS], but the integer is compared to the height, rather than the width.
0 commit comments