Refactor Header component styles for improved layout and responsiveness
- Adjusted CSS classes in Header.astro to remove unnecessary overflow properties, enhancing the layout for better mobile navigation. - Maintained max-width settings for consistent design across different screen sizes.
This commit is contained in:
@@ -91,7 +91,7 @@ const {
|
|||||||
<div class="absolute inset-0"></div>
|
<div class="absolute inset-0"></div>
|
||||||
<div
|
<div
|
||||||
class:list={[
|
class:list={[
|
||||||
'relative text-default py-3 px-3 md:px-6 mx-auto w-full max-w-full overflow-hidden',
|
'relative text-default py-3 px-3 md:px-6 mx-auto w-full',
|
||||||
{
|
{
|
||||||
'md:flex md:justify-between': position !== 'center',
|
'md:flex md:justify-between': position !== 'center',
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user