Corrected typo in Padding docs.

This commit is contained in:
Carlton Gibson 2021-08-09 20:23:56 +02:00 committed by GitHub
parent 70fe9dd1f7
commit 32f24fc11f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,4 +24,4 @@ The Padding class can also accept a ``style`` argument which applies a style to
test = Padding("Hello", (2, 4), style="on blue", expand=False)
print(test)
Note that, as with all Rich renderables, you can use Padding any context. For instance, if you want to emphasize an item in a :class:`~rich.table.Table` you could add a Padding object to a row with a padding of 1 and a style of "on red".
Note that, as with all Rich renderables, you can use Padding in any context. For instance, if you want to emphasize an item in a :class:`~rich.table.Table` you could add a Padding object to a row with a padding of 1 and a style of "on red".