neutral displayAsSelector active border-b
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
Martti Malmi 2023-12-05 14:00:22 +02:00
parent 79c3cfd903
commit eb54ea98c7

View File

@ -23,7 +23,7 @@ export const DisplayAsSelector = ({ activeSelection, onSelect, show }: DisplaySe
return ( return (
<div className="flex mb-px md:mb-1"> <div className="flex mb-px md:mb-1">
<div <div
className={`border-highlight cursor-pointer flex justify-center flex-1 p-3 ${ className={`cursor-pointer flex justify-center flex-1 p-3 ${
activeSelection === "list" ? "border-b border-1" : "hover:bg-nearly-bg-color text-secondary" activeSelection === "list" ? "border-b border-1" : "hover:bg-nearly-bg-color text-secondary"
}`} }`}
onClick={() => myOnSelect("list")}> onClick={() => myOnSelect("list")}>
@ -32,7 +32,7 @@ export const DisplayAsSelector = ({ activeSelection, onSelect, show }: DisplaySe
</span> </span>
</div> </div>
<div <div
className={`border-highlight cursor-pointer flex justify-center flex-1 p-3 ${ className={`cursor-pointer flex justify-center flex-1 p-3 ${
activeSelection === "grid" ? "border-b border-1" : "hover:bg-nearly-bg-color text-secondary" activeSelection === "grid" ? "border-b border-1" : "hover:bg-nearly-bg-color text-secondary"
}`} }`}
onClick={() => myOnSelect("grid")}> onClick={() => myOnSelect("grid")}>