Intalled pagy and applyed to admin/users index
This commit is contained in:
21
app/assets/stylesheets/pagy.tailwind.css
Normal file
21
app/assets/stylesheets/pagy.tailwind.css
Normal file
@@ -0,0 +1,21 @@
|
||||
.pagy {
|
||||
@apply flex pt-2 space-x-1 font-semibold text-gray-500;
|
||||
a:not(.gap) {
|
||||
@apply block px-3 py-1 bg-gray-200 shadow-lg;
|
||||
&:hover {
|
||||
@apply bg-gray-300;
|
||||
}
|
||||
&:not([href]) { /* disabled links */
|
||||
@apply text-gray-300 bg-gray-100 cursor-default;
|
||||
}
|
||||
&.current {
|
||||
@apply text-white bg-hsrm-red;
|
||||
}
|
||||
}
|
||||
label {
|
||||
@apply inline-block whitespace-nowrap bg-gray-200 px-3 py-0.5;
|
||||
input {
|
||||
@apply bg-gray-100 border-none rounded-md;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user