diff --git a/sheep/components/s-block-item/s-block-item.vue b/sheep/components/s-block-item/s-block-item.vue
index 3d19d856..e4e4f0b0 100644
--- a/sheep/components/s-block-item/s-block-item.vue
+++ b/sheep/components/s-block-item/s-block-item.vue
@@ -18,7 +18,7 @@
-
+
diff --git a/sheep/components/s-image-cube/s-image-cube.vue b/sheep/components/s-image-cube/s-image-cube.vue
index 4d896641..a56669fa 100644
--- a/sheep/components/s-image-cube/s-image-cube.vue
+++ b/sheep/components/s-image-cube/s-image-cube.vue
@@ -3,10 +3,10 @@
-
+
@@ -49,7 +49,7 @@
const cell = computed(() => {
return (
(windowWidth -
- (props.styles.marginLeft + props.styles.marginRight + props.styles.padding * 2)) /
+ ((props.styles.marginLeft || 0) + (props.styles.marginRight || 0) + (props.styles.padding || 0) * 2)) /
4
);
});