Fixed map border issue and production webpack image asset management.

This commit is contained in:
Harrison Deng 2022-01-20 00:42:29 -06:00
parent 03e0747c16
commit 7dd192936b
2 changed files with 5 additions and 5 deletions

View File

@ -64,12 +64,12 @@
</div> </div>
<iframe <iframe
ref="dynmap" ref="dynmap"
src="https:/ent.sys.reslate.xyz/rsemcs/dynmap/" src="https://ent.sys.reslate.xyz/rsemcs/dynmap/"
class="map" class="map"
allowtransparency="true" allowtransparency="true"
@load="iframeLoaded" @load="iframeLoaded"
> >
<p>Your browser does not support iframes. Visit <a href="https:/ent.sys.reslate.xyz/rsemcs/dynmap/">the full dynmap page here</a></p> <p>Your browser does not support iframes. Visit <a href="https://ent.sys.reslate.xyz/rsemcs/dynmap/">the full dynmap page here</a></p>
</iframe> </iframe>
</div> </div>
</div> </div>
@ -190,8 +190,8 @@ export default {
background-repeat: repeat; background-repeat: repeat;
background-clip: padding-box; background-clip: padding-box;
margin-bottom: 5%; margin-bottom: 5%;
border-width: 27px;
border-image-slice:27 27 27 27; border-image-slice:27 27 27 27;
border-image-width:27px 27px 27px 27px; border-image-width:27px 27px 27px 27px;
border-image-outset:0px 0px 0px 0px; border-image-outset:0px 0px 0px 0px;

View File

@ -60,8 +60,8 @@ module.exports = {
type: "asset/resource", type: "asset/resource",
}, },
{ {
test: /\.(jpe?g|png|gif|svg)$/i, test: /\.(png|svg|jpg|jpeg|gif)$/i,
type: "asset", type: "asset/resource",
} }
] ]
}, },