We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
微信小程序 基础库版本: 2.26.0
在Iphone机子显示正确,但是安卓机子显示异常,表格多出空白部分。td的width="0"
下图为浏览器渲染结果 下图为安卓机子显示结果
复现方式 富文本内容:
富文本内容.txt
tagStyle: { table: 'border: solid 1px #64a4e1; border-spaceing: 0; border-collapse: collapse; width: 100%;', th: 'border: solid 1px #64a4e1; font-size:14px;', td: 'border: solid 1px #64a4e1; font-size:14px;white-space: normal;vertical-align: middle;', li: 'margin: 5px 0;', h1: 'background: #b2edff; margin: 5px 0; font-size: 18px; line-height: 36px; height: 36px; color: #005bb1;font-weight: bold;padding: 5px;', h2: 'background: #64a4e1; color: #fff; font-weight: bold; font-size: 14px; padding: 5px; margin: 2px 0;', p: 'line-height: 1.5em;font-size:16px;', }
The text was updated successfully, but these errors were encountered:
补充一下,在安卓真机上调试,td没有自动填满表格
Sorry, something went wrong.
No branches or pull requests
使用环境
微信小程序
基础库版本: 2.26.0
问题描述
在Iphone机子显示正确,但是安卓机子显示异常,表格多出空白部分。td的width="0"
下图为浏览器渲染结果
下图为安卓机子显示结果
复现方式
富文本内容:
富文本内容.txt
tagStyle: {
table: 'border: solid 1px #64a4e1; border-spaceing: 0; border-collapse: collapse; width: 100%;',
th: 'border: solid 1px #64a4e1; font-size:14px;',
td: 'border: solid 1px #64a4e1; font-size:14px;white-space: normal;vertical-align: middle;',
li: 'margin: 5px 0;',
h1: 'background: #b2edff; margin: 5px 0; font-size: 18px; line-height: 36px; height: 36px; color: #005bb1;font-weight: bold;padding: 5px;',
h2: 'background: #64a4e1; color: #fff; font-weight: bold; font-size: 14px; padding: 5px; margin: 2px 0;',
p: 'line-height: 1.5em;font-size:16px;',
}
The text was updated successfully, but these errors were encountered: