mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Handling invalid color values in CSS and inline styles
This commit is contained in:
@@ -87,7 +87,7 @@ class BasicApp(App):
|
||||
old_margin = self.focused.styles.margin
|
||||
# new_margin = old_margin + (1,1,1)
|
||||
# self.focused.styles.padding = (1, 1, 1)
|
||||
self.focused.styles.display = "banana"
|
||||
self.focused.styles.color = "banana"
|
||||
|
||||
|
||||
BasicApp.run(css_file="uber.css", log="textual.log", log_verbosity=1)
|
||||
|
||||
Reference in New Issue
Block a user