Skip to content

Commit

Permalink
fix: #157 (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
TukhtayevaRoziya authored Oct 1, 2024
1 parent 3a7cd4c commit d951365
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function Header() {

return (
<header
className={`flex justify-between items-center p-4 space-x-4 sticky top-0 border-b-2 0 z-40 ${
className={`flex justify-between items-center md:p-4 p-4 space-x-4 sticky top-0 border-b-2 0 z-40 sm:pl-0 ${
isScrolled
? "backdrop-blur-md bg-opacity-70 bg-transparent"
: "bg-white dark:bg-black"
Expand All @@ -58,7 +58,7 @@ export default function Header() {
</div>
<Link
href="/"
className="text-2xl font-bold cursor-pointer hidden sm:block"
className="text-2xl md:text-2xl font-bold cursor-pointer hidden sm:block sm:text-base"
>
Rustcrab
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/components/navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const menuItems = [

const Navbar: React.FC = () => {
return (
<ul className="flex space-x-4 small-medium:space-x-2 capitalize">
<ul className="flex space-x-4 small-medium:space-x-2 capitalize md:text-base text-base sm:text-sm">
{menuItems.map((item, index) => (
<Link href={item.link} key={index} className="cursor-pointer transition ease-in-out">
<span className="hover:text-orange-500">{item.items}</span>
Expand Down

0 comments on commit d951365

Please sign in to comment.