img grid paddings

This commit is contained in:
Martti Malmi
2023-11-29 15:09:46 +02:00
parent bbcedbd99c
commit 1f82d38acb
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ export const DisplayAsSelector = ({ activeSelection, onSelect, show }: DisplaySe
if (show === false) return null;
return (
<div className="flex mb-4">
<div className="flex mb-px md:mb-1">
<div
className={`border-highlight cursor-pointer flex justify-center flex-1 p-3 ${
activeSelection === "list" ? "border-b border-1" : "hover:bg-nearly-bg-color text-secondary"