0
0
mirror of https://github.com/Maks1mS/userscripts.git synced 2024-12-23 16:22:59 +03:00
This commit is contained in:
Maxim Slipenko 2024-06-25 21:26:29 +03:00
commit becff1ef68

View File

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name VK Big Chat Stickers // @name VK Big Chat Stickers
// @namespace https://github.com/Maks1mS/userscripts // @namespace https://github.com/Maks1mS/userscripts
// @version 0.2 // @version 0.3
// @description Increases size of chat stickers // @description Increases size of chat stickers
// @author Maxim Slipenko // @author Maxim Slipenko
// @match https://vk.com/* // @match https://vk.com/*
@ -9,14 +9,18 @@
// @grant GM_addStyle // @grant GM_addStyle
// ==/UserScript== // ==/UserScript==
(function() { (function () {
'use strict'; 'use strict';
const style = ` const style = `
img.StickerUGC { .sticker_img_wrapper:has(.StickerUGC) {
width: 256px; width: 256px;
height: 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 { .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-columns: 2 !important;