Skip to content

Commit

Permalink
fix(frontend): annoying expand behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
amir-kedis authored and AhmedHamed3699 committed May 11, 2024
1 parent 2c2bd98 commit 833e3cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions mistermeow/app/src/meowapp/src/SRP.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ function SRP() {
<div
className={` ${theme} flex flex-col bg-home text-mprimary min-h-screen font-inter fill-current`}
>
<nav className="flex pt-4 pb-4 border-searchBorder border-b">
<div className="container flex gap-3">
<nav className="flex pt-4 pb-4 border-searchBorder max-h-[78px] relative border-b">
<div className="container flex gap-3 ">
<Link to="/">
<Banner size="sm" />
</Link>
<Form onSubmit={submitHandler}>
<SearchBar
className="mt-0 inline-block"
className="mt-0 inline-block z-[1000]"
query={query}
setQuery={setQuery}
/>
Expand Down
4 changes: 1 addition & 3 deletions mistermeow/app/src/meowapp/src/components/SRPPagination.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Link, useNavigate } from "react-router-dom";
import { Link } from "react-router-dom";

import {
Pagination,
Expand All @@ -23,8 +23,6 @@ export default function SRPPagination({
query,
setPage,
}: SRPPaginationProps) {
const navigate = useNavigate();

const numberOfPages = Math.ceil(resultsCount / 20); // FIXME: Hardcoded 20 change later
console.log("Number of pages", numberOfPages);

Expand Down

0 comments on commit 833e3cd

Please sign in to comment.