Update sandbox example to use text-justify CSS property

This commit is contained in:
Darren Burns
2022-08-25 17:16:44 +01:00
parent 27c07dc7f0
commit 9eb5a17df7

View File

@@ -36,8 +36,4 @@ class TextJustify(App):
app = TextJustify(css_path="text_justify.scss", watch_css=True) app = TextJustify(css_path="text_justify.scss", watch_css=True)
if __name__ == "__main__": if __name__ == "__main__":
from rich.console import Console app.run()
console = Console()
text = Text(TEXT)
console.print(TEXT, justify="full")