diff --git a/package.json b/package.json index b15c847..e108d02 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@es-drager/root", - "version": "1.2.6", + "version": "1.2.7", "description": "A draggable, resizable, rotatable component based on vue3", "keywords": [ "drag", diff --git a/packages/docs/src/views/Home.vue b/packages/docs/src/views/Home.vue index 85af417..de5dc5e 100644 --- a/packages/docs/src/views/Home.vue +++ b/packages/docs/src/views/Home.vue @@ -179,6 +179,10 @@ watch( .es-content { position: relative; flex: 1; + margin: 20px; + background-color: var(--es-color-bg); + box-shadow: var(--el-box-shadow); + height: calc(100% - var(--es-header-height) - 40px); } } } diff --git a/packages/drager/package.json b/packages/drager/package.json index 229232b..aabce75 100644 --- a/packages/drager/package.json +++ b/packages/drager/package.json @@ -1,6 +1,6 @@ { "name": "es-drager", - "version": "1.2.6", + "version": "1.2.7", "description": "A draggable, resizable, rotatable component based on vue3", "keywords": [ "drag", diff --git a/packages/editor/src/components/editor/GridRect.vue b/packages/editor/src/components/editor/GridRect.vue index e1566cd..743fdd6 100644 --- a/packages/editor/src/components/editor/GridRect.vue +++ b/packages/editor/src/components/editor/GridRect.vue @@ -42,9 +42,11 @@