Browse Source

refactor(nc-gui): reduce stroke width

pull/4071/head
braks 2 years ago
parent
commit
36216d039a
  1. 4
      packages/nc-gui/components/erd/RelationEdge.vue
  2. 6
      packages/nc-gui/components/smartsheet/toolbar/Erd.vue

4
packages/nc-gui/components/erd/RelationEdge.vue

@ -66,7 +66,7 @@ export default {
class="opacity-100 hover:(opacity-0)"
:class="selected ? 'opacity-0' : ''"
:style="style"
:stroke-width="4"
:stroke-width="3"
fill="none"
:d="edgePath[0]"
/>
@ -74,7 +74,7 @@ export default {
class="opacity-0 hover:(opacity-100 transition-all duration-100 ease)"
:class="selected ? 'opacity-100' : ''"
style="stroke: url(#linear-gradient)"
:stroke-width="8"
:stroke-width="7"
fill="none"
:d="edgePath[0]"
/>

6
packages/nc-gui/components/smartsheet/toolbar/Erd.vue

@ -42,3 +42,9 @@ const selectedView = inject(ActiveViewInj)
</div>
</a-modal>
</template>
<style>
.ant-modal {
@apply !top-[50px];
}
</style>

Loading…
Cancel
Save