Spaces:
Running
Running
i want no scrolls on mobile
Browse files- index.html +3 -3
- style.css +5 -2
index.html
CHANGED
|
@@ -2,10 +2,10 @@
|
|
| 2 |
<html lang="en" class="dark">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>PlumbCraft Pro - Emergency Plumbing Services</title>
|
| 7 |
<link rel="stylesheet" href="style.css">
|
| 8 |
-
|
| 9 |
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
@@ -145,7 +145,7 @@
|
|
| 145 |
<img src="http://static.photos/technology/200x100/3" alt="HomeAdvisor" class="h-10">
|
| 146 |
<img src="http://static.photos/technology/200x100/4" alt="BBB" class="h-10">
|
| 147 |
</div>
|
| 148 |
-
|
| 149 |
|
| 150 |
<custom-footer></custom-footer>
|
| 151 |
|
|
|
|
| 2 |
<html lang="en" class="dark">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
| 6 |
<title>PlumbCraft Pro - Emergency Plumbing Services</title>
|
| 7 |
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
|
|
| 145 |
<img src="http://static.photos/technology/200x100/3" alt="HomeAdvisor" class="h-10">
|
| 146 |
<img src="http://static.photos/technology/200x100/4" alt="BBB" class="h-10">
|
| 147 |
</div>
|
| 148 |
+
</main>
|
| 149 |
|
| 150 |
<custom-footer></custom-footer>
|
| 151 |
|
style.css
CHANGED
|
@@ -145,9 +145,13 @@ body {
|
|
| 145 |
background-color: var(--secondary-500);
|
| 146 |
color: white;
|
| 147 |
}
|
| 148 |
-
|
| 149 |
/* Responsive Adjustments */
|
| 150 |
@media (max-width: 768px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
.sticky-footer-bar {
|
| 152 |
padding: 0.75rem 0.5rem;
|
| 153 |
}
|
|
@@ -157,7 +161,6 @@ body {
|
|
| 157 |
font-size: 0.875rem;
|
| 158 |
}
|
| 159 |
}
|
| 160 |
-
|
| 161 |
/* Accessibility */
|
| 162 |
.sr-only {
|
| 163 |
position: absolute;
|
|
|
|
| 145 |
background-color: var(--secondary-500);
|
| 146 |
color: white;
|
| 147 |
}
|
|
|
|
| 148 |
/* Responsive Adjustments */
|
| 149 |
@media (max-width: 768px) {
|
| 150 |
+
body {
|
| 151 |
+
overflow-x: hidden;
|
| 152 |
+
position: relative;
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
.sticky-footer-bar {
|
| 156 |
padding: 0.75rem 0.5rem;
|
| 157 |
}
|
|
|
|
| 161 |
font-size: 0.875rem;
|
| 162 |
}
|
| 163 |
}
|
|
|
|
| 164 |
/* Accessibility */
|
| 165 |
.sr-only {
|
| 166 |
position: absolute;
|