diff options
author | 2019-10-31 21:46:17 +0100 | |
---|---|---|
committer | 2019-10-31 21:46:17 +0100 | |
commit | a54d978011436975c151fbd6c729a840ce191dcc (patch) | |
tree | d646faee5b3982e9f728e1f12e7e6600b0bd5eeb /pydis_site/static/css/staff | |
parent | Merge pull request #293 from python-discord/update-dependency-pinning (diff) |
Make newlines visible in deleted messages
https://github.com/python-discord/site/issues/302
This commit makes newlines in deleted messages visible in the deleted
messages front-end and makes sure they are not stripped during the
conversion to HTML. To represent newlines, I've chosen a commonly
used symbol: `↵`.
In addition, I've kaizened the colour filter that translates integer
representations of colours to their RGB hex-value. The Discord dark
theme shows black colours (int: 0; hex: #000000) as white instead, to
make reading them against the dark background easier. This commit
makes sure our front-end displays the same behavior.
This closes #302
Diffstat (limited to 'pydis_site/static/css/staff')
-rw-r--r-- | pydis_site/static/css/staff/logs.css | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pydis_site/static/css/staff/logs.css b/pydis_site/static/css/staff/logs.css index d7bb04cf..acf4f1f7 100644 --- a/pydis_site/static/css/staff/logs.css +++ b/pydis_site/static/css/staff/logs.css @@ -39,7 +39,6 @@ main.site-content { } .discord-message-metadata { - color: hsla(0, 0%, 100%, .2); font-size: 0.75rem; font-weight: 400; margin: 0 .3rem; |