Skip to content

Commit

Permalink
Add vertical padding to dropdown container
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbar01234 committed Apr 28, 2024
1 parent 67450f2 commit 69ea2ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/TileGrid/InfoTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const _InfoTile = (props: Omit<InfoTileProps, "ContainerNode">) => {
const { title, information, topRightButton, moreInformation, href } = props;

return (
<div className="flex h-fit w-full flex-col gap-y-4 rounded-lg bg-white p-6 shadow-md shadow-gray-500">
<>
<div className="relative flex items-center justify-between">
<Link
href={href ?? ""}
Expand All @@ -44,7 +44,7 @@ const _InfoTile = (props: Omit<InfoTileProps, "ContainerNode">) => {
))}
</div>
{moreInformation ?? null}
</div>
</>
);
};

Expand Down
2 changes: 1 addition & 1 deletion src/components/container/DropDownContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const DropDownContainer = (props: DropDownContainerProps) => {
</div>
<div
ref={animationDivRef}
className={`overflow-hidden ${
className={`overflow-hidden py-2 ${
showItems ? "max-h-[512px] md:max-h-[1024px]" : "max-h-0"
}`}
style={
Expand Down

0 comments on commit 69ea2ac

Please sign in to comment.