From 91cb057cb7597213d21e7a19291717411a855c78 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Tue, 17 May 2022 12:09:46 -0500 Subject: [PATCH] Fixed pixel gap issue with dynmap on MCS page. --- src/pages/MinecraftServer.vue | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/pages/MinecraftServer.vue b/src/pages/MinecraftServer.vue index 2bdcee6..4b7312b 100644 --- a/src/pages/MinecraftServer.vue +++ b/src/pages/MinecraftServer.vue @@ -60,10 +60,9 @@ @@ -111,11 +110,6 @@ export default { this.lastUpdate = info.last_updated; }, methods: { - dynmapLoaded() { - let iframe = this.$refs.dynmap; - let iframeDocument = iframe.contentDocument || iframe.contentWindow.document; - iframeDocument.body.style.backgroundColor = "transparent"; - } }, }; @@ -187,7 +181,7 @@ export default { background-clip: padding-box; margin-bottom: 2.5%; - border-width: 27px; + border-width: 26px; border-image-slice:27 27 27 27; border-image-width:27px 27px 27px 27px; border-image-outset:0px 0px 0px 0px;