Skip to content

Commit

Permalink
feature: 优化了样式
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsGoo committed Nov 30, 2024
1 parent 2ae5fb2 commit ae54e7c
Show file tree
Hide file tree
Showing 4 changed files with 5,277 additions and 5,893 deletions.
4 changes: 2 additions & 2 deletions packages/designer/src/pane/RightSideBar/SideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@
<div
v-for="(item, index) in menuOptions"
:key="index"
class="h-full o-scroll overflow-auto flex flex-nowrap flex-col hover:scale-110"
class="h-full o-scroll overflow-auto flex flex-nowrap flex-col"
>
<div class="m-2 text-center">
<component :is="item.icon" />
<component :is="item.icon" class="hover:scale-110" />
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/ColorPicker/ColorInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<input
ref="input"
:value="value"
class="outline-0 p-0 w-full rounded-sm dark:bg-zinc-800 bg-white text-gray-800 dark:text-gray-50"
class="outline-0 p-0 w-full rounded-sm dark:bg-zinc-800 bg-white text-gray-800 dark:text-gray-50 dark:border-gray-500 border border-gray-300"
@keydown="handleKeyDown"
@input="update"
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/Input/Input.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<template>
<div
:class="{
['o-form-input']: true,
'input-prepend': $slots.prepend,
'input-append': $slots.append
}"
class="o-form-input dark:border-gray-500 border rounded-sm border-gray-300 my-0.5"
:style="{ width: width }"
>
<div v-if="$slots.prepend" class="prepend">
Expand Down
Loading

0 comments on commit ae54e7c

Please sign in to comment.