Skip to content

Instantly share code, notes, and snippets.

@dvingerh
Created April 17, 2017 15:22
Show Gist options
  • Save dvingerh/e018889eabca0dcb767087870c72cbb5 to your computer and use it in GitHub Desktop.
Save dvingerh/e018889eabca0dcb767087870c72cbb5 to your computer and use it in GitHub Desktop.
It basically makes the embeds align horizontally, so when there's multitple links in the same message, it takes less space in the chat.
// ==UserScript==
// @name Discord SmarterEmbeds
// @namespace https://github.com/BeardDesign1/SmarterEmbeds
// @version 0.1
// @description It basically makes the embeds align horizontally, so when there's multitple links in the same message, it takes less space in the chat.
// @author BeardDesign1 & Cammy (userscript port)
// @match *discordapp.com/*
// @grant GM_addStyle
// ==/UserScript==
GM_addStyle ( ".message-group .accessory{ display: flex; flex-flow: row wrap; } .message-group .accessory>*:not(:last-of-type){ margin-right:10px; } .message-group .accessory>*{ margin-top:5px; } .reactions { width:100%; flex:100%; order:9999999999; }" );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment