textual icon indicating copy to clipboard operation
textual copied to clipboard

Clarify `Input` docs about removing spacing

Open TomJGooding opened this issue 1 year ago • 1 comments

The Input docs includes a Additional Notes section about removing the spacing:

https://github.com/Textualize/textual/blob/b28ad500a3da98bfcde25a71082303d82270491d/docs/widgets/input.md?plain=1#L156-L158

But the default CSS also has a height and a padding, so I think perhaps this is misleading. It also doesn't mention the :focus state which is likely to catch some people out.

https://github.com/Textualize/textual/blob/b28ad500a3da98bfcde25a71082303d82270491d/src/textual/widgets/_input.py#L141-L149

TomJGooding avatar Feb 07 '24 21:02 TomJGooding

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

github-actions[bot] avatar Feb 07 '24 21:02 github-actions[bot]

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

github-actions[bot] avatar Mar 12 '24 18:03 github-actions[bot]