Skip to content

Commit

Permalink
[5.x] Add filter container class (#1238)
Browse files Browse the repository at this point in the history
* add filter classes

* remove uniqid
  • Loading branch information
luanfreitasdev authored Nov 9, 2023
1 parent ac1ebcc commit 1e7d921
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"/powergrid.js": "/powergrid.js?id=3043c3fe79e9f0b46ab1caad476bf63e",
"/bootstrap5.css": "/bootstrap5.css?id=03aba1df82c23db07c1d1096efcd42ae",
"/tailwind.css": "/tailwind.css?id=23e875c1f75fa40980aa6037d6d9daf0",
"/tailwind.css": "/tailwind.css?id=0a704dc8cc7a1f02d8000c080300b604",
"/tom-select.css": "/tom-select.css?id=7af730d2c4bf937316d4002948b1571d",
"/powergrid.css": "/powergrid.css?id=f6bd5092ec92b7fb6d3488dd0bb5602f"
"/powergrid.css": "/powergrid.css?id=c85bbcfe3743c122f454f0e55408eaf4"
}
2 changes: 1 addition & 1 deletion dist/powergrid.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tailwind.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions resources/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,7 @@ table thead {
.pg-actions {
@apply flex gap-2 w-full
}

.pg-filter-container {
@apply py-3;
}
4 changes: 4 additions & 0 deletions resources/css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@
hover:shadow-sm disabled:opacity-80 disabled:cursor-not-allowed rounded-lg gap-x-2 text-sm px-3 py-2 border border-pg-primary-300
text-pg-primary-500 hover:bg-pg-primary-100 ring-pg-primary-200
}

.pg-filter-container {
@apply py-3;
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ class="mt-2 md:mt-0"
x-transition:leave="transform duration-100"
x-transition:leave-start="opacity-100 scale-100"
x-transition:leave-end="opacity-0 scale-90"
class="py-3"
wire:key="filter-{{ uniqid() }}"
class="pg-filter-container"
>
@php
$customConfig = [];
Expand Down

0 comments on commit 1e7d921

Please sign in to comment.