DiscordStyles / Slate

An optimized, consistent, and functional theme for @discord based on GitHub's design language.
https://discordstyles.github.io/slate-theme
MIT License
220 stars 192 forks source link

Fixed the text encroaching on the quoted message in inbox #114

Closed 0xEquinox closed 2 years ago

0xEquinox commented 2 years ago

There was a bug previously where the reply to a message would encroach on the original quoted message in the inbox. I fixed it by changing the margin around that quoted message by about 2px, and I changed the padding around that quoted message. This was important because it decreases the amount of space lost in chat. Unfortunately, because every message in both the inbox and chat uses the same CSS changing one affects the other, but by shrinking the padding I think the loss is limited to a few pixels per replied message in chat, and it's hardly noticeable (This is also using changes from my other PR which fixes the spacing in the inbox). I will also add that I don't think the inbox looks perfect or anything, there is still too little space between the two messages but there isn't much to be done about that without either major changes or loss of space within the chat which I personally find more important than the inbox.

Before inbox: Patch3-before

After inbox: Patch4-after-inbox

Before Chat: Patch4-chat-before

After Chat: Patch4-after-chat

Gibbu commented 2 years ago

Fixed in latest update