Skip to content

Commit cb9d8af

Browse files
committed
refactor(header): streamline mobile layout for improved readability
- Simplified the mobile layout by consolidating the class names for the hidden div. - Enhanced code readability and maintainability in the Header component.
1 parent 8a94341 commit cb9d8af

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/layouts/partials/Header.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,7 @@ const Header: React.FC = () => {
131131
<Logo size="header" />
132132
</div>
133133
{/* Mirror menu width so wordmark sits on true center (mobile only) */}
134-
<div
135-
className="w-12 shrink-0 lg:hidden"
136-
aria-hidden="true"
137-
/>
134+
<div className="w-12 shrink-0 lg:hidden" aria-hidden="true" />
138135
</>
139136
) : (
140137
<div className="flex items-center">

0 commit comments

Comments
 (0)