We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75206ac commit a3ec9e2Copy full SHA for a3ec9e2
src/layouts/components/RightPanel/index.vue
@@ -1,16 +1,6 @@
1
<script lang="ts" setup>
2
import { Setting } from "@element-plus/icons-vue"
3
4
-interface Props {
5
- buttonTop?: number
6
-}
7
-
8
-const props = withDefaults(defineProps<Props>(), {
9
- buttonTop: 350
10
-})
11
12
-const buttonTopCss = `${props.buttonTop}px`
13
14
const show = ref(false)
15
</script>
16
@@ -31,7 +21,7 @@ const show = ref(false)
31
21
height: 48px;
32
22
background-color: var(--v3-rightpanel-button-bg-color);
33
23
position: fixed;
34
- top: v-bind(buttonTopCss);
24
+ top: 45%;
35
25
right: 0;
36
26
border-radius: 6px 0 0 6px;
37
27
z-index: 2000;
0 commit comments