lint fixes
This commit is contained in:
parent
a161a9c1e7
commit
7436e0da18
15 changed files with 48 additions and 17 deletions
|
@ -134,9 +134,11 @@ async function enter(el: HTMLElement) {
|
|||
|
||||
setTimeout(renderTab, 170);
|
||||
}
|
||||
|
||||
function afterEnter(el: HTMLElement) {
|
||||
//el.style.width = '';
|
||||
}
|
||||
|
||||
async function leave(el: HTMLElement) {
|
||||
const elementWidth = el.getBoundingClientRect().width;
|
||||
el.style.width = elementWidth + 'px';
|
||||
|
@ -145,6 +147,7 @@ async function leave(el: HTMLElement) {
|
|||
el.style.width = '0';
|
||||
el.style.paddingLeft = '0';
|
||||
}
|
||||
|
||||
function afterLeave(el: HTMLElement) {
|
||||
el.style.width = '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue