Browse Source

Fix mobile layout

Volodymyr Tkach 2 years ago
parent
commit
3e4a779da3
1 changed files with 1 additions and 2 deletions
  1. 1 2
      internal/server/web/index.html

+ 1 - 2
internal/server/web/index.html

@@ -2,9 +2,8 @@
 <html lang="en">
 	<head>
 		<meta charset="utf-8" />
+		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
 		<title>ip2location</title>
-		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
-		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
 		<style>html{min-height:100%;height:100%;position:relative}body{margin:0;padding:0;position:relative;width:100%;min-height:100%;height:100%;height:auto;display:table}.wrapper{padding:15px;text-align:center;display:table-cell;vertical-align:middle}h1,h2{font-weight:400;font-size:34px;line-height:36px;margin:10px 0}h2{font-weight:350;font-size:14px;line-height:18px;margin-bottom:0}@media only screen and (max-width:800px){.wrapper{padding:15px 0}h1,h2{padding:0 15px}}</style>
 	</head>
 	<body>