textual
textual copied to clipboard
Clarify `Input` docs about removing spacing
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