minor bug fixes
This commit is contained in:
parent
c4ff0b09f9
commit
f4df4b7e7b
@ -2101,6 +2101,7 @@ slideButton.innerHTML = `
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
:host([disabled]) .slide-thumb{
|
:host([disabled]) .slide-thumb{
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@ -2166,7 +2167,6 @@ class SlideButton extends HTMLElement {
|
|||||||
this.bound = buttonDimensions.width - thumbDimensions.width;
|
this.bound = buttonDimensions.width - thumbDimensions.width;
|
||||||
this.startX = e.clientX;
|
this.startX = e.clientX;
|
||||||
this.threshold = this.bound / 2;
|
this.threshold = this.bound / 2;
|
||||||
console.log(e.clientX, this.startX)
|
|
||||||
this.thumb.setPointerCapture(e.pointerId);
|
this.thumb.setPointerCapture(e.pointerId);
|
||||||
this.thumb.addEventListener('pointermove', this.handleTouchMove);
|
this.thumb.addEventListener('pointermove', this.handleTouchMove);
|
||||||
this.thumb.addEventListener('pointerup', this.handleTouchEnd);
|
this.thumb.addEventListener('pointerup', this.handleTouchEnd);
|
||||||
|
|||||||
@ -666,7 +666,7 @@ strip-option {
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
font-size: 0.7rem;
|
font-size: 0.8rem;
|
||||||
--border-radius: 0;
|
--border-radius: 0;
|
||||||
--active-option-color: rgba(var(--background-color), 1);
|
--active-option-color: rgba(var(--background-color), 1);
|
||||||
--active-option-background-color: var(--accent-color);
|
--active-option-background-color: var(--accent-color);
|
||||||
@ -834,7 +834,7 @@ strip-option:last-of-type {
|
|||||||
.status-tag:not(:empty) {
|
.status-tag:not(:empty) {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
font-size: 0.7rem;
|
font-size: 0.8rem;
|
||||||
border-radius: 0.2rem;
|
border-radius: 0.2rem;
|
||||||
padding: 0.3rem 0.4rem;
|
padding: 0.3rem 0.4rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
@ -1398,7 +1398,7 @@ strip-option:last-of-type {
|
|||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-size: 0.7rem;
|
font-size: 0.8rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: rgba(var(--text-color), 0.8);
|
color: rgba(var(--text-color), 0.8);
|
||||||
margin-top: 0.3rem;
|
margin-top: 0.3rem;
|
||||||
|
|||||||
2
css/main.min.css
vendored
2
css/main.min.css
vendored
File diff suppressed because one or more lines are too long
@ -585,7 +585,7 @@ strip-option {
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
font-size: 0.7rem;
|
font-size: 0.8rem;
|
||||||
--border-radius: 0;
|
--border-radius: 0;
|
||||||
--active-option-color: rgba(var(--background-color), 1);
|
--active-option-color: rgba(var(--background-color), 1);
|
||||||
--active-option-background-color: var(--accent-color);
|
--active-option-background-color: var(--accent-color);
|
||||||
@ -721,7 +721,7 @@ strip-option {
|
|||||||
.status-tag:not(:empty) {
|
.status-tag:not(:empty) {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
font-size: 0.7rem;
|
font-size: 0.8rem;
|
||||||
border-radius: 0.2rem;
|
border-radius: 0.2rem;
|
||||||
padding: 0.3rem 0.4rem;
|
padding: 0.3rem 0.4rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
@ -1165,7 +1165,7 @@ strip-option {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
&__title {
|
&__title {
|
||||||
display: flex;
|
display: flex;
|
||||||
font-size: 0.7rem;
|
font-size: 0.8rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: rgba(var(--text-color), 0.8);
|
color: rgba(var(--text-color), 0.8);
|
||||||
margin-top: 0.3rem;
|
margin-top: 0.3rem;
|
||||||
|
|||||||
@ -1895,7 +1895,7 @@
|
|||||||
getRef(`${type}_button_wrapper`).append(document.createElement('sm-spinner'))
|
getRef(`${type}_button_wrapper`).append(document.createElement('sm-spinner'))
|
||||||
}
|
}
|
||||||
function hideProcess(type) {
|
function hideProcess(type) {
|
||||||
getRef(`${type}_button_wrapper`).children[0].classList.remove('clip')
|
getRef(`${type}_button_wrapper`).children[0]?.classList.remove('clip')
|
||||||
getRef(`${type}_button_wrapper`).querySelector('sm-spinner')?.remove()
|
getRef(`${type}_button_wrapper`).querySelector('sm-spinner')?.remove()
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2072,7 +2072,7 @@
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
refreshBalance()
|
refreshBalance()
|
||||||
// checkPendingTransaction()
|
checkPendingTransaction()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user