Skip to content

Commit 3298999

Browse files
committed
样式优化
1 parent ff2b975 commit 3298999

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/assets/css/widget.styl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,10 @@ $primary-background-color = #d8e8fa;
239239
}
240240

241241
.wg-horizontal-picker {
242+
width: 400px;
243+
border: 1px solid #999;
244+
border-radius: 10px;
245+
overflow: hidden;
242246
white-space: nowrap;
243247
height: 36px;
244248
line-height: 36px;
@@ -249,7 +253,7 @@ $primary-background-color = #d8e8fa;
249253
height: 100%;
250254
text-align: center;
251255
display: inline-block;
252-
padding: 0;
256+
padding: 0 20px;
253257
white-space: nowrap;
254258
position: relative;
255259
overflow: hidden;

src/components/widget-form-list.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
class="picker-item"
111111
v-for="optionsItem in item.options"
112112
:key="optionsItem"
113-
:style="optionsItem===item.value?{ color: optionsItem.pickerColor }:{}"
113+
:style="optionsItem===item.value?{ color: item.pickerColor }:{}"
114114
>{{optionsItem}}</div>
115115
</div>
116116
</div>

0 commit comments

Comments
 (0)