From fd7580e92dd60e8122a79678816cbe48e3cdcaa2 Mon Sep 17 00:00:00 2001 From: Master3395 Date: Sun, 9 Sep 2018 16:47:42 +0200 Subject: [PATCH] Update clock.plugin.js Makes it more compatible with V2 of Discord. (Moves the clock a bit to the right, and removes the background light color.) --- Plugins/clock.plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/clock.plugin.js b/Plugins/clock.plugin.js index e07cb8cdc..1142f6e8f 100644 --- a/Plugins/clock.plugin.js +++ b/Plugins/clock.plugin.js @@ -6,7 +6,7 @@ var clockPlugin = function () {}; clockPlugin.prototype.start = function () { BdApi.clearCSS("clockPluginCss"); - BdApi.injectCSS("clockPluginCss", '#clockPluginClock { position:absolute; color:#FFF; background:#333333; padding:0 12px 0 13px; min-width:55px; max-width:55px; z-index:100; }'); + BdApi.injectCSS("clockPluginCss", '#clockPluginClock { position:absolute; color:#FFF; padding:0 10px 0 80px; min-width:50px; max-width:50px; z-index:100; }'); var self = this; this.clock = $("
", { id: "clockPluginClock" }); $("body").append(this.clock); @@ -92,4 +92,4 @@ clockPlugin.prototype.getVersion = function () { clockPlugin.prototype.getAuthor = function () { return "Jiiks"; -}; \ No newline at end of file +};