Skip to content

Commit

Permalink
phone fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhartha Mishra authored and Siddhartha Mishra committed Oct 29, 2024
1 parent a5aa033 commit d9c062c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="/megha-bhattarai/assets/logo-D2-UyS0I.png" /> <!-- tab logo -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Megha Bhattarai - Bagaicha</title>
<script type="module" crossorigin src="/megha-bhattarai/assets/index-CCtCr6VU.js"></script>
<link rel="stylesheet" crossorigin href="/megha-bhattarai/assets/index-D872U3EA.css">
<script type="module" crossorigin src="/megha-bhattarai/assets/index-qk63NYbx.js"></script>
<link rel="stylesheet" crossorigin href="/megha-bhattarai/assets/index-BsGl7OwR.css">
</head>
<body>
<div id="root"></div>
Expand Down
1 change: 1 addition & 0 deletions src/components/NavBar/BuyButton/buybutton.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

@media (max-width: 768px) {
.buyMyBookBtn {
color: white;
margin-top: 1rem;
font-family: "DM Serif Display", serif;

Expand Down
14 changes: 10 additions & 4 deletions src/components/NavBar/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,20 @@ nav {


@media (max-width: 768px) {

.navbar {
margin-top: 0;
flex-direction: column; /* Stack items vertically */
align-items: flex-center; /* Align the items to the left */
padding: 1rem; /* Adjust padding */
align-items: center; /* Center items on mobile */
padding: 1rem;
}
.logo {
margin-top: 1rem;
height: 3rem; /* Adjust logo size for mobile */
width: auto;
}
.desktopNavBarItem {
padding: 0.5rem 0; /* Reduce padding for mobile */
font-size: 1rem; /* Adjust text size for mobile */
padding: 0.5rem 0;
font-size: 1rem;
}
}

0 comments on commit d9c062c

Please sign in to comment.