Center back icon

This commit is contained in:
Paulo Gustavo Veiga 2022-01-06 14:57:17 -08:00
parent 733db56e34
commit d655628f45
3 changed files with 4 additions and 4 deletions

View File

@ -79,7 +79,7 @@ export function buildOptions(options) {
}; };
const viewPort = { const viewPort = {
height: Number.parseInt(window.innerHeight - 70, 10), // Footer and Header height: Number.parseInt(window.innerHeight, 10),
width: Number.parseInt(window.innerWidth, 10), width: Number.parseInt(window.innerWidth, 10),
}; };

View File

@ -23,11 +23,11 @@ div#mapName >span {
} }
div#back { div#back {
background: url(../images/back-icon.svg) no-repeat center top; background: url(../images/back-icon.svg) no-repeat center center;
height: 40px; height: 40px;
width: 80px; width: 80px;
float: left; float: left;
margin: 8px 0px; margin: 6px 0px;
} }
/******************************************************************************************/ /******************************************************************************************/

View File

@ -12,7 +12,7 @@
<body> <body>
<div id="header"> <div id="header">
<div id="toolbar"> <div id="toolbar">
<div id="back"></div> <a href="/c/maps/"><div id="back"></div></a>
<div id="mapName" class="buttonContainer"> <div id="mapName" class="buttonContainer">
<span>Welcome</span> <span>Welcome</span>
</div> </div>