OSDN Git Service

[fix] : 謎の横スクロールを修正
authorhayao <hayao@fascode.net>
Wed, 14 Jul 2021 14:52:33 +0000 (23:52 +0900)
committerhayao <hayao@fascode.net>
Wed, 14 Jul 2021 14:52:33 +0000 (23:52 +0900)
alter/index.html

index 57c0947..d747818 100644 (file)
@@ -7,7 +7,7 @@
     <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
     <title>Alter Linux Beta</title>
 </head>
-<body class="bg-green-700 text-white leading-5 w-screen max-w-screen">
+<body class="bg-green-700 text-white leading-5">
     <header>
         <div class="containe bg-green-900 px-8 font-bold">
             <div class="flex justify-between items-center md:py-4 py-2">
@@ -44,7 +44,7 @@
         
     </header>
 
-    <main class="h-screen w-screen p-3" id="main">
+    <main class="h-screen p-3" id="main">
         
         <script>
             //for (i=1; i<=10; i++){ document.getElementById("main").insertAdjacentHTML("afterbegin", "<p>Hello</p>"); }