Skip to content

Commit

Permalink
Merge pull request #99 from hack4bengal/ark-dev
Browse files Browse the repository at this point in the history
[FIX]: Fixed header responsiveness
  • Loading branch information
tamalCodes authored Jun 7, 2024
2 parents 8555c31 + 428852d commit a545063
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/components/shared/header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ const Header = ({ ...data }) => {

const backWordStyles = {
fontSize:
windowWidth < 900
? "100px"
windowWidth > 900 ? data.backWordSize || "150px"
: windowWidth > 700
? data.backWordSize || "150px"
? "100px"
: data.backWordSize_mobile,
letterSpacing:
windowWidth > 700
Expand Down
7 changes: 5 additions & 2 deletions src/components/shared/navbar/Navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@
justify-content: flex-end;

.navbar__mobile__sidebar {
width: 70%;
width: 40%;
min-width: 18rem;
height: 100%;
background-color: #1b1b1b;
border-radius: 20px 0px 0px 20px;
Expand Down Expand Up @@ -241,6 +242,7 @@
flex-direction: column;
justify-content: center;
align-items: flex-start;
gap: 1rem;

span {
color: var(--h4bred);
Expand All @@ -250,6 +252,7 @@

img {
object-fit: contain;
width: 200px;
}
}
}
Expand Down Expand Up @@ -324,4 +327,4 @@
width: 175px;
}
}
}
}

0 comments on commit a545063

Please sign in to comment.