forked from Kieran/snort
neutral displayAsSelector active border-b
This commit is contained in:
parent
79c3cfd903
commit
eb54ea98c7
@ -23,7 +23,7 @@ export const DisplayAsSelector = ({ activeSelection, onSelect, show }: DisplaySe
|
||||
return (
|
||||
<div className="flex mb-px md:mb-1">
|
||||
<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"
|
||||
}`}
|
||||
onClick={() => myOnSelect("list")}>
|
||||
@ -32,7 +32,7 @@ export const DisplayAsSelector = ({ activeSelection, onSelect, show }: DisplaySe
|
||||
</span>
|
||||
</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"
|
||||
}`}
|
||||
onClick={() => myOnSelect("grid")}>
|
||||
|
Loading…
Reference in New Issue
Block a user