diff options
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx')
-rw-r--r-- | src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx b/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx index 53b3e7fb6..dbb332734 100644 --- a/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx +++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu/TemplateBackend.tsx @@ -357,6 +357,8 @@ export class TemplateLayouts { opts: { borderColor: 'yellow', borderWidth: '8', + contentXCentering: "h-center", + backgroundColor: 'transparent', }, }, { @@ -366,27 +368,28 @@ export class TemplateLayouts { opts: { borderColor: 'yellow', borderWidth: '8', + backgroundColor: 'transparent', }, subfields: [ { viewType: ViewType.STATIC, - tl: [0, 0], - br: [0, 0], - types: [TemplateFieldType.VISUAL], + tl: [-.3, -.6], + br: [.3, .6], + types: [TemplateFieldType.VISUAL, TemplateFieldType.TEXT], sizes: [TemplateFieldSize.MEDIUM, TemplateFieldSize.LARGE, TemplateFieldSize.HUGE], - description: 'A medium to large field for visual content that will share central focus with other content in the carousel.', + description: 'A medium to large field for content that will share central focus with other content in the carousel.', opts: { - borderColor: 'black', + borderColor: 'yellow', borderWidth: '8', }, }, { viewType: ViewType.STATIC, - tl: [0, 0], - br: [0, 0], - types: [TemplateFieldType.VISUAL], + tl: [-.3, -.6], + br: [.3, .6], + types: [TemplateFieldType.VISUAL, TemplateFieldType.TEXT], sizes: [TemplateFieldSize.MEDIUM, TemplateFieldSize.LARGE, TemplateFieldSize.HUGE], - description: 'A medium to large field for visual content that will share central focus with other content in the carousel.', + description: 'A medium to large field for content that will share central focus with other content in the carousel.', opts: { borderColor: 'black', borderWidth: '8', @@ -394,13 +397,13 @@ export class TemplateLayouts { }, { viewType: ViewType.STATIC, - tl: [0, 0], - br: [0, 0], - types: [TemplateFieldType.VISUAL], + tl: [-.3, -.6], + br: [.3, .6], + types: [TemplateFieldType.VISUAL, TemplateFieldType.TEXT], sizes: [TemplateFieldSize.MEDIUM, TemplateFieldSize.LARGE, TemplateFieldSize.HUGE], - description: 'A medium to large field for visual content that will share central focus with other content in the carousel.', + description: 'A medium to large field for content that will share central focus with other content in the carousel.', opts: { - borderColor: 'black', + borderColor: 'yellow', borderWidth: '8', }, }, |