diff --git a/layers/components/blocks/VisualContent.vue b/layers/components/blocks/VisualContent.vue index f78489b..1d2620c 100644 --- a/layers/components/blocks/VisualContent.vue +++ b/layers/components/blocks/VisualContent.vue @@ -14,9 +14,7 @@ const props = withDefaults(defineProps(), { }) const imagePaths = computed(() => getImagePaths(props.resourcesData)) -const displayText = computed( - () => props.resourcesData?.display?.text || 'image' -) +const displayText = computed(() => props.resourcesData?.display?.text) const colorName = computed(() => props.resourcesData?.display?.color_name) const colorCode = computed(() => props.resourcesData?.display?.color_code) diff --git a/layers/components/widgets/Background.vue b/layers/components/widgets/Background.vue index 07c7fc2..c5e70a2 100644 --- a/layers/components/widgets/Background.vue +++ b/layers/components/widgets/Background.vue @@ -31,7 +31,7 @@ const imageClasses = computed(() => [ props.size === 'contain' ? 'bg-contain' : 'bg-cover', ]) const gradientClasses = computed(() => [ - 'absolute bottom-0 left-0 right-0', + 'absolute bottom-[-2px] left-[-2px] right-[-2px]', props.gradient, ]) diff --git a/layers/components/widgets/VideoPlay.vue b/layers/components/widgets/VideoPlay.vue index a443495..337f756 100644 --- a/layers/components/widgets/VideoPlay.vue +++ b/layers/components/widgets/VideoPlay.vue @@ -23,8 +23,5 @@ const handleVideoPlayClick = () => { diff --git a/layers/templates/GrContents01/index.vue b/layers/templates/GrContents01/index.vue index 5b4f6d6..29e96ec 100644 --- a/layers/templates/GrContents01/index.vue +++ b/layers/templates/GrContents01/index.vue @@ -48,7 +48,7 @@ const buttonListData = computed(() => { diff --git a/layers/templates/GrGallery02/index.vue b/layers/templates/GrGallery02/index.vue index 6c1dc04..01a012b 100644 --- a/layers/templates/GrGallery02/index.vue +++ b/layers/templates/GrGallery02/index.vue @@ -80,9 +80,7 @@ const onArrowClick = (direction, targetIndex) => {
diff --git a/layers/templates/GrGallery03/index.vue b/layers/templates/GrGallery03/index.vue index 0f6cd8c..846f8e9 100644 --- a/layers/templates/GrGallery03/index.vue +++ b/layers/templates/GrGallery03/index.vue @@ -92,7 +92,6 @@ const onArrowClick = (direction, targetIndex) => {