diff --git a/css/style.css b/css/style.css index 1f9d451..59f311c 100644 --- a/css/style.css +++ b/css/style.css @@ -104,12 +104,15 @@ footer { cursor: crosshair; } +#map { + /* center error message horizontally */ + display: flex; + justify-content: center; +} #message { - position: absolute; - left: 446px; /* 400 + 10 + 26 + 10 */ - top: 0px; - margin-top: 10px; + margin: 10px 46px; /* 10 + 26 + 10 */ z-index: 3000; + font-size: 1rem; } #profile_buttons { diff --git a/index.html b/index.html index aacc613..fff53f9 100644 --- a/index.html +++ b/index.html @@ -177,7 +177,9 @@
-
+
+
+
- -