fix: Update campaign routes to fix the rendering issue (#8400)

This commit is contained in:
Pranav Raj S
2023-11-22 09:39:41 -08:00
committed by GitHub
parent 96add30331
commit 1904ec7df4
3 changed files with 8 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ export default {
path: 'ongoing', path: 'ongoing',
name: 'settings_account_campaigns', name: 'settings_account_campaigns',
roles: ['administrator'], roles: ['administrator'],
component: { ...Index }, component: Index,
}, },
], ],
}, },
@@ -36,7 +36,7 @@ export default {
path: 'one_off', path: 'one_off',
name: 'one_off', name: 'one_off',
roles: ['administrator'], roles: ['administrator'],
component: { ...Index }, component: Index,
}, },
], ],
}, },

View File

@@ -1,6 +1,8 @@
<template> <template>
<div class="flex flex-row h-full"> <div class="flex flex-col md:flex-row h-auto md:h-full w-full">
<div class="w-[60%] macros-canvas"> <div
class="flex-1 w-full md:w-auto macro-gradient-radial dark:macro-dark-gradient-radial macro-gradient-radial-size h-full max-h-full py-4 px-12 overflow-y-auto"
>
<macro-nodes <macro-nodes
v-model="macro.actions" v-model="macro.actions"
:files="files" :files="files"
@@ -9,7 +11,7 @@
@resetAction="resetNode" @resetAction="resetNode"
/> />
</div> </div>
<div class="w-[34%]"> <div class="w-full md:w-1/3">
<macro-properties <macro-properties
:macro-name="macro.name" :macro-name="macro.name"
:macro-visibility="macro.visibility" :macro-visibility="macro.visibility"
@@ -138,7 +140,4 @@ export default {
background-size: 1rem 1rem; background-size: 1rem 1rem;
} }
} }
.macros-canvas {
@apply macro-gradient-radial dark:macro-dark-gradient-radial macro-gradient-radial-size h-full max-h-full py-4 px-12 overflow-y-auto;
}
</style> </style>

View File

@@ -18,7 +18,7 @@
> >
{{ $t('MACROS.EDITOR.VISIBILITY.LABEL') }} {{ $t('MACROS.EDITOR.VISIBILITY.LABEL') }}
</p> </p>
<div class="grid grid-cols-2 gap-3"> <div class="grid grid-cols-1 lg:grid-cols-2 gap-3">
<button <button
class="p-2 relative rounded-md border border-solid text-left cursor-default" class="p-2 relative rounded-md border border-solid text-left cursor-default"
:class="isActive('global')" :class="isActive('global')"