Skip to content

Commit d02842f

Browse files
committed
Test
1 parent fff830a commit d02842f

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

src/assets/variables.scss

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,30 @@ $bg-multiautocomplete-item: #e8e8e8;
101101
--bg-selected: rgba(255, 255, 255, 0.103);
102102
--bg-multiautocomplete-item: #2c2c2c;
103103
}
104+
105+
body ::-webkit-scrollbar {
106+
width: 10px;
107+
height: 5px;
108+
appearance: none;
109+
}
110+
111+
body ::-webkit-scrollbar-track {
112+
background: rgba(0, 0, 0, 10%);
113+
border-radius: 0;
114+
}
115+
116+
body ::-webkit-scrollbar-thumb {
117+
background: rgba(0, 0, 0, 25%);
118+
border-radius: 5px;
119+
cursor: pointer;
120+
transition: color 0.2s ease;
121+
}
122+
123+
body ::-webkit-scrollbar-thumb:window-inactive {
124+
background: rgba(0, 0, 0, 15%);
125+
}
126+
127+
body ::-webkit-scrollbar-thumb:hover {
128+
background: rgba(128, 135, 139, 80%);
129+
}
130+

src/components/hive-drop-down/hive-drop-down.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,14 @@ defineExpose({ current });
130130
'no-padding': !isExpanded,
131131
}"
132132
@focusin="expand(), onFocusin(emit)"
133-
@focusout="collapse(), onFocusout(emit)"
134133
@keydown="onKeydown(emit, $event)"
135134
@keydown.enter.exact="updateCurrentValue(activeValue), onUpdateModelValue<Value>(emit, activeValue)"
136135
@keydown.esc="collapse()"
137136
@keydown.up.prevent="setPrevActiveValue"
138137
@keydown.down.prevent="setNextActiveValue"
139138
@input="onSearch<string>(emit, $event as string)"
140139
/>
140+
<!-- @focusout="collapse(), onFocusout(emit)" -->
141141
<i class="hive-drop-down__icon" :class="{ expand: isExpanded }" @mousedown="toggle" />
142142
</div>
143143
<transition name="fade" appear>

0 commit comments

Comments
 (0)