aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-06-27 07:55:30 -0400
committerRapptz <[email protected]>2020-12-18 21:18:54 -0500
commit92fffb5daa1ba8546e04f1fffd855c88c91e2455 (patch)
tree622050e7945e86633c537ae31d51eef37bb31960
parentAdd border radius and padding to inline code (diff)
downloaddiscord.py-92fffb5daa1ba8546e04f1fffd855c88c91e2455.tar.xz
discord.py-92fffb5daa1ba8546e04f1fffd855c88c91e2455.zip
Revert "Fix table wrapping"
This reverts commit c911cd0dbd06f6c0e774396174fb383fc63d172f.
-rw-r--r--discord/invite.py39
-rw-r--r--docs/_static/style.css2
2 files changed, 17 insertions, 24 deletions
diff --git a/discord/invite.py b/discord/invite.py
index 364fc274..2f7c273d 100644
--- a/discord/invite.py
+++ b/discord/invite.py
@@ -235,28 +235,23 @@ class Invite(Hashable):
The following table illustrates what methods will obtain the attributes:
- +------------------------------------+----------------------------------+
- | Attribute | Method |
- +====================================+==================================+
- | :attr:`max_age` | :meth:`abc.GuildChannel.invites` |
- | | :meth:`Guild.invites` |
- +------------------------------------+----------------------------------+
- | :attr:`max_uses` | :meth:`abc.GuildChannel.invites` |
- | | :meth:`Guild.invites` |
- +------------------------------------+----------------------------------+
- | :attr:`created_at` | :meth:`abc.GuildChannel.invites` |
- | | :meth:`Guild.invites` |
- +------------------------------------+----------------------------------+
- | :attr:`temporary` | :meth:`abc.GuildChannel.invites` |
- | | :meth:`Guild.invites` |
- +------------------------------------+----------------------------------+
- | :attr:`uses` | :meth:`abc.GuildChannel.invites` |
- | | :meth:`Guild.invites` |
- +------------------------------------+----------------------------------+
- | :attr:`approximate_member_count` | :meth:`Client.fetch_invite` |
- +------------------------------------+----------------------------------+
- | :attr:`approximate_presence_count` | :meth:`Client.fetch_invite` |
- +------------------------------------+----------------------------------+
+ +------------------------------------+----------------------------------------------------------+
+ | Attribute | Method |
+ +====================================+==========================================================+
+ | :attr:`max_age` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` |
+ +------------------------------------+----------------------------------------------------------+
+ | :attr:`max_uses` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` |
+ +------------------------------------+----------------------------------------------------------+
+ | :attr:`created_at` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` |
+ +------------------------------------+----------------------------------------------------------+
+ | :attr:`temporary` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` |
+ +------------------------------------+----------------------------------------------------------+
+ | :attr:`uses` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` |
+ +------------------------------------+----------------------------------------------------------+
+ | :attr:`approximate_member_count` | :meth:`Client.fetch_invite` |
+ +------------------------------------+----------------------------------------------------------+
+ | :attr:`approximate_presence_count` | :meth:`Client.fetch_invite` |
+ +------------------------------------+----------------------------------------------------------+
If it's not in the table above then it is available by all methods.
diff --git a/docs/_static/style.css b/docs/_static/style.css
index 06a72904..66ae3a4a 100644
--- a/docs/_static/style.css
+++ b/docs/_static/style.css
@@ -806,7 +806,6 @@ dd {
table.docutils {
width: 100%;
- table-layout: fixed;
}
table.docutils.footnote {
@@ -831,7 +830,6 @@ table.docutils tbody tr td {
border-top: solid 1px var(--table-border);
padding: 7px 5px;
vertical-align: top;
- overflow-wrap: break-word;
}
table.docutils tbody tr:last-child th,
table.docutils tbody tr:last-child td {