fix: 修复左侧组件样式问题

Re-1.0
咬轮猫 3 years ago
parent 370992d0e8
commit 829a99a732

@ -18,7 +18,7 @@
<template #title> <template #title>
<div style="font-weight: bolder">{{ item.title }}</div> <div style="font-weight: bolder">{{ item.title }}</div>
</template> </template>
<div class="component-group flex flex-warp"> <div class="component-group flex flex-wrap">
<div <div
v-for="svg_item in item.list" v-for="svg_item in item.list"
class="ideal" class="ideal"
@ -94,12 +94,13 @@
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.component-item { .component-item {
width: 100px; width: 110px;
height: 30px; height: 30px;
border: 1px solid #f0f0f0; border: 1px solid #f0f0f0;
border-radius: 4px; border-radius: 4px;
box-sizing: border-box; box-sizing: border-box;
overflow: hidden; overflow: hidden;
margin-bottom: 5px;
&:hover { &:hover {
cursor: move; cursor: move;

@ -147,7 +147,7 @@
} }
.side-nav { .side-nav {
@showLeftNavWidth: 240px; @showLeftNavWidth: 260px;
@hideLeftNavWidth: 0px; @hideLeftNavWidth: 0px;
position: relative; position: relative;
overflow: inherit; overflow: inherit;

@ -129,7 +129,7 @@
background_color: '#fff', background_color: '#fff',
scale: 1, scale: 1,
position_center: { position_center: {
x: -295, x: -315,
y: -95 y: -95
}, },
svg_position_center: { svg_position_center: {

@ -10,7 +10,7 @@ export const useConfigStore = defineStore('config-store', {
background_color: '#fff', background_color: '#fff',
scale: 1, scale: 1,
position_center: { position_center: {
x: -295, x: -315,
y: -95 y: -95
}, },
svg_position_center: { svg_position_center: {

@ -22,7 +22,7 @@
background_color: '#fff', background_color: '#fff',
scale: 1, scale: 1,
position_center: { position_center: {
x: -295, x: -315,
y: -95 y: -95
}, },
svg_position_center: { svg_position_center: {

@ -15,7 +15,7 @@
background_color: '#fff', background_color: '#fff',
scale: 1, scale: 1,
position_center: { position_center: {
x: -295, x: -315,
y: -95 y: -95
}, },
svg_position_center: { svg_position_center: {

@ -24,7 +24,7 @@
background_color: '#fff', background_color: '#fff',
scale: 1, scale: 1,
position_center: { position_center: {
x: -295, x: -315,
y: -95 y: -95
}, },
svg_position_center: { svg_position_center: {

Loading…
Cancel
Save