Browse Source

#274 remove obsolete viewport tag for website

Falko Schindler 2 năm trước cách đây
mục cha
commit
967d2e536b
2 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 1
      nicegui/templates/index.html
  2. 0 1
      website/static/header.html

+ 1 - 1
nicegui/templates/index.html

@@ -2,7 +2,7 @@
 <html>
   <head>
     <title>{{ title }}</title>
-    <meta name="viewport" content="{{ viewport }}">
+    <meta name="viewport" content="{{ viewport }}" />
     <script src="{{ prefix | safe }}/_nicegui/static/socket.io.min.js"></script>
     <link href="{{ favicon_url }}" rel="shortcut icon" />
     <link href="{{ prefix | safe }}/_nicegui/static/fonts.css" rel="stylesheet" type="text/css" />

+ 0 - 1
website/static/header.html

@@ -1,4 +1,3 @@
-<meta name="viewport" content="width=device-width, initial-scale=1" />
 <meta
   name="description"
   content="NiceGUI is an easy-to-use, Python-based UI framework, which shows up in your web browser. You can create buttons, dialogs, markdown, 3D scenes, plots and much more."