mirror of
https://github.com/Maks1mS/userscripts.git
synced 2024-12-23 16:22:59 +03:00
9cad4d315b
--------- Co-authored-by: Maxim Slipenko <no-reply@maxim.slipenko.com>
39 lines
1.4 KiB
JavaScript
39 lines
1.4 KiB
JavaScript
// ==UserScript==
|
|
// @name VK Big Chat Stickers
|
|
// @namespace https://github.com/Maks1mS/userscripts
|
|
// @version 0.3
|
|
// @description Increases size of chat stickers
|
|
// @author Maxim Slipenko
|
|
// @match https://vk.com/*
|
|
// @icon https://vk.com/favicon.ico
|
|
// @grant GM_addStyle
|
|
// ==/UserScript==
|
|
|
|
(function () {
|
|
'use strict';
|
|
|
|
const style = `
|
|
.sticker_img_wrapper:has(.StickerUGC) {
|
|
width: 256px;
|
|
height: 256px;
|
|
}
|
|
img.StickerUGC {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.StickersEmojiKeyboard-module__in--GCR5_:has(.StickersKeyboardGroupItem-module__in--CKjkC.StickersKeyboardGroupItem-module__inActive--iqstp > div[aria-label="Стикеры чата"]) .StickersKeyboard-module__keyboard--HhSGu.View-module__panel--WNKKi.View-module__panelSwitched--hg3jP {
|
|
--stickers-columns: 2 !important;
|
|
--stickers-size: 172px !important;
|
|
}
|
|
.StickersEmojiKeyboard-module__in--GCR5_:has(.StickersKeyboardGroupItem-module__in--CKjkC.StickersKeyboardGroupItem-module__inActive--iqstp > div[aria-label="Стикеры чата"]) .Sticker-module__sticker--CtZU6.Sticker-module__tappable--M4lob.StickersKeyboardRow-module__sticker--m7W0R {
|
|
--sticker-size: 172px !important;
|
|
--sticker-scale: 2 !important;
|
|
width: 172px !important;
|
|
height: 172px !important;
|
|
}
|
|
`;
|
|
|
|
GM_addStyle(style)
|
|
})();
|