Skip to content

Commit

Permalink
Some small visual improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza Kelidari committed Sep 7, 2024
1 parent d1f4d98 commit 745fba4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/_Components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function Header(): JSX.Element {
name={item.name}
image={item.image}
category={item.category}
customClassName={item.customClassName}
customClassName={item.customClassName + " min-w-72"}
/>
))}
</header>
Expand Down
4 changes: 2 additions & 2 deletions app/_Components/Offers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Product from "@/components/Product";
*
* @returns {JSX.Element}
*/
export default function Offers() {
export default function Offers(): JSX.Element {
const offers: ItemType[] = [
{
name: "کتابخانه",
Expand Down Expand Up @@ -46,7 +46,7 @@ export default function Offers() {
},
];
return (
<section className="flex items-center gap-4 snap-proximity snap-x w-full overflow-x-scroll bg-cyan-200 dark:bg-cyan-950 p-8 rounded-xl">
<section className="flex max-sm:w-screen items-center gap-4 snap-proximity snap-x w-full overflow-x-scroll bg-cyan-200 dark:bg-cyan-950 p-8 sm:rounded-xl">
<a href="#" className="text-2xl sm:text-4xl font-bold min-w-48">
فروش ویژه
</a>
Expand Down

0 comments on commit 745fba4

Please sign in to comment.