Skip to content

Commit

Permalink
Update latest-invoices.tsx (#483)
Browse files Browse the repository at this point in the history
* Update latest-invoices.tsx

removed "lg:col-span-4" tailwind class since there's already "md:col-span-4"

* Remove extra lg classnames

---------

Co-authored-by: Delba de Oliveira <[email protected]>
  • Loading branch information
Alexis1war and delbaoliveira authored Nov 28, 2023
1 parent 10684e2 commit 069263d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default async function LatestInvoices() {
const latestInvoices = await fetchLatestInvoices();

return (
<div className="flex w-full flex-col md:col-span-4 lg:col-span-4">
<div className="flex w-full flex-col md:col-span-4">
<h2 className={`${lusitana.className} mb-4 text-xl md:text-2xl`}>
Latest Invoices
</h2>
Expand Down
2 changes: 1 addition & 1 deletion dashboard/final-example/app/ui/skeletons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function InvoiceSkeleton() {
export function LatestInvoicesSkeleton() {
return (
<div
className={`${shimmer} relative flex w-full flex-col overflow-hidden md:col-span-4 lg:col-span-4`}
className={`${shimmer} relative flex w-full flex-col overflow-hidden md:col-span-4`}
>
<div className="mb-4 h-8 w-36 rounded-md bg-gray-100" />
<div className="flex grow flex-col justify-between rounded-xl bg-gray-100 p-4">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default async function LatestInvoices({
latestInvoices: LatestInvoice[];
}) {
return (
<div className="flex w-full flex-col md:col-span-4 lg:col-span-4">
<div className="flex w-full flex-col md:col-span-4">
<h2 className={`${lusitana.className} mb-4 text-xl md:text-2xl`}>
Latest Invoices
</h2>
Expand Down
2 changes: 1 addition & 1 deletion dashboard/starter-example/app/ui/skeletons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function InvoiceSkeleton() {
export function LatestInvoicesSkeleton() {
return (
<div
className={`${shimmer} relative flex w-full flex-col overflow-hidden md:col-span-4 lg:col-span-4`}
className={`${shimmer} relative flex w-full flex-col overflow-hidden md:col-span-4`}
>
<div className="mb-4 h-8 w-36 rounded-md bg-gray-100" />
<div className="flex grow flex-col justify-between rounded-xl bg-gray-100 p-4">
Expand Down

1 comment on commit 069263d

@vercel
Copy link

@vercel vercel bot commented on 069263d Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-learn-dashboard – ./dashboard/final-example

next-learn-dashboard-git-main.vercel.sh
next-learn-dashboard.vercel.sh

Please sign in to comment.