Skip to content

Commit

Permalink
fix: fixed header responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkapravo-Ghosh committed Jun 3, 2024
1 parent e74c448 commit 5401bbf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/shared/header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ const Header = ({ ...data }) => {

const backWordStyles = {
fontSize:
windowWidth > 700
? data.backWordSize || "150px"
: data.backWordSize_mobile,
windowWidth < 900
? "100px"
: windowWidth > 700
? data.backWordSize || "150px"
: data.backWordSize_mobile,
letterSpacing:
windowWidth > 700
? data.backWordSpacing || "0.8rem"
Expand Down

0 comments on commit 5401bbf

Please sign in to comment.