refactor(tabs): optimize new tab button postion close #127 (#128)

This commit is contained in:
Kagol 2023-04-11 23:08:41 +08:00 committed by GitHub
parent 8293251184
commit 5e0aad622b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -33,6 +33,8 @@
padding: 0;
position: relative;
margin: 0;
display: flex;
justify-content: space-between;
.@{tabs-prefix-cls}__active-bar {
position: absolute;

View File

@ -116,8 +116,8 @@ export default defineComponent({
const header = (
<div class={['tiny-tabs__header', `is-${position}`]}>
{newButton}
{TabNavComponent}
{newButton}
</div>
)