diff --git a/src/assets/styles/antd.scss b/src/assets/styles/antd.scss index b2e05355..10d00b42 100644 --- a/src/assets/styles/antd.scss +++ b/src/assets/styles/antd.scss @@ -60,4 +60,9 @@ // tooltip .ant-tooltip-inner { font-size: 12px; +} + +// input +.ant-input-number-input { + line-height: 30px; } \ No newline at end of file diff --git a/src/views/Editor/Toolbar/ElementPositionPanel.vue b/src/views/Editor/Toolbar/ElementPositionPanel.vue index 73f99487..7a504952 100644 --- a/src/views/Editor/Toolbar/ElementPositionPanel.vue +++ b/src/views/Editor/Toolbar/ElementPositionPanel.vue @@ -2,12 +2,12 @@
层级:
- - + + - - + + @@ -39,8 +39,8 @@
-
位置:
-
-
-
X
-
-
Y
-
@@ -278,4 +257,15 @@ const updateRotate45 = (command: '+' | '-') => { .icon-btn { cursor: pointer; } +.text-btn { + height: 30px; + line-height: 30px; + text-align: center; + cursor: pointer; + + &:hover { + background-color: #efefef; + border-radius: $borderRadius; + } +} \ No newline at end of file