Unsqueeze template and action cards
This commit is contained in:
@@ -64,7 +64,7 @@ export default function Index() {
|
|||||||
{actions ? (
|
{actions ? (
|
||||||
actions.length > 0 ? (
|
actions.length > 0 ? (
|
||||||
<>
|
<>
|
||||||
<div className={"grid grid-cols-1 gap-6 sm:grid-cols-2"}>
|
<div className={"grid grid-cols-1 gap-6 lg:grid-cols-2"}>
|
||||||
{actions
|
{actions
|
||||||
.sort((a, b) => {
|
.sort((a, b) => {
|
||||||
if (a.name < b.name) {
|
if (a.name < b.name) {
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export default function Index() {
|
|||||||
{templates ? (
|
{templates ? (
|
||||||
templates.length > 0 ? (
|
templates.length > 0 ? (
|
||||||
<>
|
<>
|
||||||
<div className={"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3"}>
|
<div className={"grid grid-cols-1 gap-6 lg:grid-cols-3"}>
|
||||||
{templates
|
{templates
|
||||||
.sort((a, b) => {
|
.sort((a, b) => {
|
||||||
if (a.actions.length > 0 && b.actions.length === 0) {
|
if (a.actions.length > 0 && b.actions.length === 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user