slightly shift gallery left to line up with name on nav - idk if I like it

This commit is contained in:
Chuck Dries 2023-03-08 02:06:37 -08:00
parent 77df8418c8
commit 8effec79b1
3 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ interface KeywordsPickerProps {
}
const KeywordsPicker = ({ keywords, value, onChange }: KeywordsPickerProps) => {
return (
<div className="mx-2 mt-2">
<div className="mr-2 mt-2">
<span className="text-xs text-black">
Collections
</span>

View File

@ -118,7 +118,7 @@ const MasonryGallery = ({
return (
<div
className={classNames(
"flex items-center flex-wrap mx-auto px-4 md:px-8",
"flex items-center flex-wrap mx-auto pr-4 pl-2 md:pr-8 md:pl-[72px]",
isClient ? "" : ""
)}
// ref={observe}

View File

@ -218,7 +218,7 @@ const GalleryPage = ({ data, location }: PageProps<Queries.GalleryPageQueryQuery
</div>
<div className="gradient pb-6">
<div className="px-4 md:px-8 flex items-baseline">
<h3 className="mx-2 font-bold" id="recently">
<h3 className="mr-2 font-bold" id="recently">
Recently published
</h3>
{sortKey !== "datePublished" && (
@ -249,7 +249,7 @@ const GalleryPage = ({ data, location }: PageProps<Queries.GalleryPageQueryQuery
/>
</div>
<div className="px-4 md:px-8 mt-2 pt-2">
<h3 className="mx-2 font-bold" id="all">
<h3 className="mr-2 font-bold" id="all">
All images
</h3>
</div>
@ -274,7 +274,7 @@ const GalleryPage = ({ data, location }: PageProps<Queries.GalleryPageQueryQuery
onChange={setKeyword}
value={filterKeyword}
/>
<div className="m-2 flex flex-row items-end">
<div className="my-2 flex flex-row items-end">
<div className="border border-gray-400 rounded mr-2">
<Switch
isSelected={showPalette}