Skip to content

Commit 70fc0d4

Browse files
author
hikki
committed
搜索bug,倒排添加 样式调整
1 parent e7a7122 commit 70fc0d4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

resources/assets/component.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
3030
margin: 0 0.25em 0;
3131
padding: 2px 4px 2px 4px;
32-
text-transform: none;
33-
text-shadow: none;
3432
line-height: 1em;
3533
font-style: normal;
3634
text-align: center;
@@ -45,6 +43,8 @@
4543
-webkit-transition: opacity .1s ease,background-color .1s ease,color .1s ease,background .1s ease,-webkit-box-shadow .1s ease;
4644
transition: opacity .1s ease,background-color .1s ease,color .1s ease,background .1s ease,-webkit-box-shadow .1s ease;
4745
-webkit-tap-highlight-color: transparent;
46+
transition-property: color,background-color,border;
47+
-webkit-appearance: none;
4848
}
4949

5050
.dlp-label:hover {
@@ -129,6 +129,7 @@
129129
}
130130
.dot-cascade-stack>.dlp-label-silence{
131131
opacity: 0.5;
132+
transition: .2s ease-in-out;
132133
}
133134

134135
.dlp-input{

resources/assets/component.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,7 @@ class ComponentCascadeLine {
11241124
div.setAttribute('data-k', k);
11251125
div.addEventListener('click', this.select.bind(this, div, stack));
11261126
if (v.nodes !== null) {
1127+
div.insertAdjacentHTML('afterbegin', `<i class="left">${_component.caret_right}</i>`);
11271128
div.addEventListener("contextmenu", (e) => {
11281129
e.preventDefault();
11291130
let k = parseInt(div.getAttribute('data-k'));

0 commit comments

Comments
 (0)