Use DIV instead of SPAN, remove newline

Makes it a little bit easier to read.
This commit is contained in:
Tobias 2021-01-20 21:04:26 +01:00
parent 0443de44b6
commit 3b385c56e3

View file

@ -37,8 +37,7 @@
</head> </head>
<body> <body>
<div style="position: fixed; left: 1em; bottom: 1em; width:35vh; height:35vh;" <div style="position: fixed; left: 1em; bottom: 1em; width:35vh; height:35vh;" id="decoration-desktop">
id="decoration-desktop">
<!-- A nice decoration while loading or on errors --> <!-- A nice decoration while loading or on errors -->
<!-- DECORATION 0 START --> <!-- DECORATION 0 START -->
<img src="./assets/svg/add.svg"/> <img src="./assets/svg/add.svg"/>
@ -46,14 +45,12 @@
</div> </div>
<div class="only-on-mobile"> <div class="only-on-mobile">
<div id="messagesboxmobile"> <div id="messagesboxmobile"></div>
</div>
</div> </div>
<div id="topleft-tools"> <div id="topleft-tools">
<div id="userbadge-and-search"> <div id="userbadge-and-search">
<div id="userbadge" class="shadow"> <div id="userbadge" class="shadow"></div>
</div>
<div id="searchbox" class="shadow"></div> <div id="searchbox" class="shadow"></div>
</div> </div>
<div id="messagesbox"></div> <div id="messagesbox"></div>
@ -61,12 +58,11 @@
<div id="help-button-mobile"></div> <div id="help-button-mobile"></div>
</div> </div>
<div id="layer-selection"> <div id="layer-selection"></div>
</div>
<div id="centermessage">Loading MapComplete, hang on...</div> <div id="centermessage">Loading MapComplete, hang on...</div>
<span id="geolocate-button"></span> <div id="geolocate-button"></div>
<div id="leafletDiv"></div> <div id="leafletDiv"></div>
<script src="./index.ts"></script> <script src="./index.ts"></script>