Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor css change, hided long and lat #173

Merged
merged 1 commit into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions front-end/src/components/form/formBtn.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ const FormBtn = (props) => {
return (
<div className="w-full py-2">
<button className="rounded-lg py-2 w-full
border-solid border-2 border-navyBlue bg-navyBlue text-beige1
hover:cursor-pointer
active:cursor-pointer active:bg-white active:text-navyBlue"
onClick={props?.handleClick}>
border-solid border-0 border-navyBlue bg-transparent text-navyBlue
hover:cursor-pointer hover:bg-navyBlue hover:text-beige1
active:cursor-pointer active:bg-transparent active:text-navyBlue"
onClick={props?.handleClick}>
{props?.value ?? "Submit"}
</button>
</div>
Expand All @@ -25,9 +25,10 @@ const FormBtns = (props) => {
return (
<div className="w-full py-2" key={i}>
<button className="rounded-lg py-2 w-full
border-solid border-2 border-navyBlue bg-white text-navyBlue
hover:cursor-pointer active:cursor-pointer"
onClick={button?.handleClick}>
border-solid border-0 border-navyBlue bg-transparent text-navyBlue
hover:cursor-pointer hover:bg-navyBlue hover:text-beige1
active:cursor-pointer active:bg-transparent active:text-navyBlue"
onClick={props?.handleClick}>
{button?.value ?? "Submit"}
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion front-end/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
}

@layer utilities {
}
}
6 changes: 2 additions & 4 deletions front-end/src/pages/MainMap/MainMap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ function LocationMarker(props) {
return(
<Marker icon={customIcon} position={position} ref={markerRef}>
<Popup>
<div className='pt-1'>
{position}
</div>
<FormBtn value="Look up" handleClick={handleClick}/>

<FormBtn value="Look up" handleClick={handleClick}/>
</Popup>
</Marker>

Expand Down