Skip to content

Conversation

darrenburns
Copy link
Member

@darrenburns darrenburns commented Sep 10, 2024

  • Closes Add support for dock: none in Textual CSS #4977
  • Adds support for split: none to CSS and inline Python.
  • Adds support for hatch: none to CSS and inline Python.
  • Adding docstrings to many of the attributes on widget.styles (helpful popups appear in VS Code now when you hover)
  • Adds support for widget.styles.border = "none", widget.style.border_{edge} = "none", widget.style.outline = "none", widget.style.outline_{edge} = "none", which worked when using CSS but crashed with an IndexError when done inline. (Previously you could make it work by doing something like ("", "red").
  • Default scrollbar_size_vertical value was wrong in StylesBase - which was surprisngly affecting the location that notifications are rendered in. There was a subsequent workaround (margin-right: 1) in ToastRack which I've now removed.

Any others?

@darrenburns darrenburns marked this pull request as ready for review September 11, 2024 11:56
@darrenburns darrenburns merged commit 05fe60d into main Sep 12, 2024
20 checks passed
@darrenburns darrenburns deleted the css-none-rules branch September 12, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for dock: none in Textual CSS

2 participants