mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-02-02 13:14:32 +01:00
fix (nav): mobile screen fixes
This commit is contained in:
@@ -17,7 +17,7 @@ export default function NavDesktop(props: Props) {
|
||||
return (
|
||||
<nav className="py-12 w-full min-w-full relative">
|
||||
<div className="content-container">
|
||||
<div className="flex gap-16 md:gap-24 lg:gap-64 items-center">
|
||||
<div className="flex gap-16 md:gap-24 lg:gap-64 items-center text-body5 md:text-body4">
|
||||
<Link to="/">
|
||||
<h2 className="hover:text-primary-500 flex items-center gap-16">
|
||||
<svg
|
||||
|
||||
@@ -40,7 +40,7 @@ export default function Search() {
|
||||
/>
|
||||
{showSearchResults && (
|
||||
<EmptyQueryBoundary fallback={null}>
|
||||
<div className="absolute top-[calc(100%+16px)] w-[max(100%,360px)] bg-white border border-gray-200 p-16 rounded shadow-lg max-h-[400px] overflow-y-scroll no-scroll">
|
||||
<div className="absolute top-[calc(100%+16px)] w-full bg-white border border-gray-200 p-16 rounded shadow-lg max-h-[400px] overflow-y-scroll no-scroll">
|
||||
<NoResultsBoundary
|
||||
fallback={
|
||||
<p className="text-center text-gray-600">
|
||||
|
||||
Reference in New Issue
Block a user