Skip to content

Commit

Permalink
Made 404 Error Card component responsive (#1413)
Browse files Browse the repository at this point in the history
  • Loading branch information
712Kunal authored Dec 22, 2024
1 parent cb8b749 commit a3bcada
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Components/Cards/404-Error-Card/style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
body {
margin: 100px;
padding-left: 415px;
width: 100%;
height: 100vh;
padding: 0px;
background-color: #1679AB;
display: flex;
justify-content: center;
align-items: center;
}

.main_wrapper {
Expand Down Expand Up @@ -494,4 +498,11 @@ body {
.btnn:active::after {
transition: 0s;
transform: translate(0, 5%);
}

/* Media query for mobile devices */
@media (max-width: 768px) {
body {
padding: 50px; /* Add padding only for mobile */
}
}

0 comments on commit a3bcada

Please sign in to comment.