alibaba / alibaba/rax

[Question]tab.size=small的时候.mt-tab-container--wechat仍然是93rpx

Open
#2,346 2 comments 0 reactions 0 assignees View on GitHub
Bug Fusion Mobile
Dominant language
JavaScript
Stars
8k
Forks
611
PR merge metrics
No merged PRs in 30d

Description

背景
- tab在小程序的有个默认样式 mt-tab-container--wechat { max-height: 93rpx }
- 而如果我设置了tab.size='small' 这个值没有变化,导致会多出一部分高度
-
image

Contributor guide

Open the contributing guide

Research direction

Start by locating the miniapp tab component and the mt-tab-container--wechat style, then compare its 93rpx max-height with the tab.size='small' behavior described here. Done means small tabs no longer retain extra height from the default 93rpx style.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.