Skip to content

Commit

Permalink
Merge pull request #235 from liberu-genealogy/sweep/fix-custom-css-gr…
Browse files Browse the repository at this point in the history
…id-system-classes

[Sweep Rules] Fix custom.css grid system classes
  • Loading branch information
curtisdelicata committed Mar 11, 2024
2 parents 9893c0e + 3635e95 commit 716c490
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions resources/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,39 @@
.grid-cols-1 {
@apply grid-cols-1;
}
.grid-cols-2 {
@apply grid-cols-2;
}
.grid-cols-3 {
@apply grid-cols-3;
}
.card {
@apply bg-white rounded-lg shadow-md overflow-hidden;
}
.card-header {
@apply bg-gray-200 text-gray-700 font-bold py-2 px-4;
}
.card-body {
@apply p-4;
}
.sm\:container {
@apply max-w-xl;
}
.md\:container {
@apply max-w-2xl;
}
.lg\:container {
@apply max-w-4xl;
}
.xl\:container {
@apply max-w-6xl;
}
.grid {
@apply grid gap-6;
}
.grid-cols-1 {
@apply grid-cols-1;
}
.md\:grid-cols-2 {
@apply md:grid-cols-2;
}
Expand All @@ -29,6 +62,36 @@
.card-body {
@apply p-4;
}
}
.md\:grid-cols-2 {
@apply md:grid-cols-2;
}
.lg\:grid-cols-3 {
@apply lg:grid-cols-3;
}
.card {
@apply bg-white rounded-lg shadow-md overflow-hidden;
}
.card-header {
@apply bg-gray-200 text-gray-700 font-bold py-2 px-4;
}
.card-body {
@apply p-4;
}
/* Responsive adjustments using Tailwind's responsive prefixes */
.sm\:container {
@apply max-w-xl;
}
.md\:container {
@apply max-w-2xl;
}
.lg\:container {
@apply max-w-4xl;
}
.xl\:container {
@apply max-w-6xl;
}
}
/* Responsive adjustments using Tailwind's responsive prefixes */
.sm\:container {
@apply max-w-xl;
Expand Down

0 comments on commit 716c490

Please sign in to comment.