Skip to content

Commit

Permalink
Fix Search position (#41)
Browse files Browse the repository at this point in the history
* Fix searchbar position

* hotfix
  • Loading branch information
Starmordar authored Oct 28, 2023
1 parent 26361ab commit aff0bfa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontend/src/components/AppBar/DesktopView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface IProps {
const DesktopView = ({ menuItems, host, region, setRegion }: IProps) => {
return (
<div className="flex items-center justify-between w-full">
<div className="flex items-center justify-start w-5/6 xl:w-4/6">
<div className="flex items-center justify-start grow pr-6">
<div className="flex items-center justify-start">
<a href="/" className="sm:flex hidden mr-5 font-bold tracking-wider text-xl">
{host}
Expand All @@ -27,8 +27,10 @@ const DesktopView = ({ menuItems, host, region, setRegion }: IProps) => {
))}
</div>

<div className="flex items-center justify-end ml-4 lg:ml-8 w-80 xl:w-2/5">
<PlayersSearch />
<div className="flex grow items-center justify-start ml-10 xl:ml-[8rem]">
<div className="flex items-center justify-end basis-[25rem]">
<PlayersSearch />
</div>
</div>
</div>

Expand Down

0 comments on commit aff0bfa

Please sign in to comment.