Skip to content

Youtube emoji no-margin by saltedprogrammer

Screenshot of Youtube emoji no-margin

Details

Authorsaltedprogrammer

LicenseNo License

Categorywww.youtube.com

Created

Updated

Size750 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Removes margins/padding for emojis in youtube chat and comments.

Supports:

  • Live chat
  • Live chat text input
  • Video/community post comments
  • Video/community post comment text input
  • Member Milestone messages
  • Superchat messages
  • Superchat text input

Notes

v0.2 (20230223.06.51) - Added support for superchats Milestone chats
v0.3 (20230302) - Added support for Superchats (real)

Source code

/* ==UserStyle==
@name         Youtube emoji no-margin
@version      20230302
@namespace    ?
==/UserStyle== */

@-moz-document domain("www.youtube.com") {
    yt-formatted-string > .emoji,
    #message.yt-live-chat-text-message-renderer .emoji.yt-live-chat-text-message-renderer,
    #content.yt-live-chat-membership-item-renderer img.yt-live-chat-membership-item-renderer,
    #content.yt-live-chat-paid-message-renderer img.yt-live-chat-paid-message-renderer {
        margin: -1px 0px 0px;
    }

    #input.yt-live-chat-text-input-field-renderer img.yt-live-chat-text-input-field-renderer,
    #contenteditable-root.yt-formatted-string .emoji.yt-formatted-string {
        margin: -5px 0px;
        padding-right: 0px;
    }
}

Reviews

No reviews yet.