adjust header on mobile

This commit is contained in:
Aadil Ayub 2024-05-31 15:41:44 +05:00
parent 50bf4b863c
commit 853d4b1421
2 changed files with 2 additions and 2 deletions

View File

@ -17,6 +17,6 @@
<!-- wp:navigation {"textColor":"black","hasIcon":false,"className":"main-header-nav","layout":{"type":"flex","justifyContent":"center","flexWrap":"nowrap"},"style":{"typography":{"fontStyle":"normal","fontWeight":"500","letterSpacing":"2px","lineHeight":"1.15","textTransform":"uppercase"},"spacing":{"blockGap":"0"}},"fontSize":"medium","fontFamily":"instrument-sans","blockVisibility":{"controlSets":[{"id":1,"enable":true,"controls":{"screenSize":{"hideOnScreenSize":{"medium":false,"small":true}}}}]}} /--> <!-- wp:navigation {"textColor":"black","hasIcon":false,"className":"main-header-nav","layout":{"type":"flex","justifyContent":"center","flexWrap":"nowrap"},"style":{"typography":{"fontStyle":"normal","fontWeight":"500","letterSpacing":"2px","lineHeight":"1.15","textTransform":"uppercase"},"spacing":{"blockGap":"0"}},"fontSize":"medium","fontFamily":"instrument-sans","blockVisibility":{"controlSets":[{"id":1,"enable":true,"controls":{"screenSize":{"hideOnScreenSize":{"medium":false,"small":true}}}}]}} /-->
<!-- wp:navigation {"textColor":"black","hasIcon":false,"layout":{"type":"flex","justifyContent":"space-between","flexWrap":"nowrap"},"style":{"typography":{"fontStyle":"normal","fontWeight":"500","letterSpacing":"2px","lineHeight":"1.15","textTransform":"uppercase"},"spacing":{"blockGap":"var:preset|spacing|50"}},"fontSize":"medium","fontFamily":"instrument-sans","blockVisibility":{"controlSets":[{"id":1,"enable":true,"controls":{"screenSize":{"hideOnScreenSize":{"medium":true,"small":false,"large":true}}}}]}} /--> <!-- wp:navigation {"textColor":"black","overlayMenu":"always","hasIcon":false,"className":"mobile-header-nav","layout":{"type":"flex","justifyContent":"center","flexWrap":"nowrap"},"style":{"typography":{"fontStyle":"normal","fontWeight":"500","letterSpacing":"2px","lineHeight":"1.15","textTransform":"uppercase","fontSize":"18px"},"spacing":{"blockGap":"var:preset|spacing|50"}},"fontFamily":"instrument-sans","blockVisibility":{"controlSets":[{"id":1,"enable":true,"controls":{"screenSize":{"hideOnScreenSize":{"medium":true,"small":false,"large":true}}}}]}} /-->
</div> </div>
<!-- /wp:group --> <!-- /wp:group -->

View File

@ -645,7 +645,7 @@
} }
} }
}, },
"css": "figcaption.wp-element-caption {\n width: fit-content;\n margin: 0;\n padding: 8px 12px;\n}\n\n.main-header-nav .wp-block-navigation-item {\n justify-content: center;\n border: 1px solid;\n flex-grow: 1;\n border-left: 0;\n padding-block: 0.5em\n}\n\n.main-header-nav .wp-block-navigation-item:last-of-type {\n border-right: 0;\n}\n\n", "css": "figcaption.wp-element-caption {\n width: fit-content;\n margin: 0;\n padding: 8px 12px;\n}\n\n.main-header-nav .wp-block-navigation-item {\n justify-content: center;\n border: 1px solid;\n flex-grow: 1;\n border-left: 0;\n padding-block: 0.5em\n}\n\n.main-header-nav .wp-block-navigation-item:last-of-type {\n border-right: 0;\n}\n\n.mobile-header-nav {\n border-top: 1px solid;\n border-bottom: 1px solid;\n padding-block: 15px\n}",
"elements": { "elements": {
"caption": { "caption": {
"color": { "color": {