提交 d2fbfd2f 编写于 作者: 雪洛's avatar 雪洛

feat(uni-app-x web): 调整部分标签默认样式

上级 c4b518a0
......@@ -43,6 +43,11 @@ uni-app uni-textarea,
uni-app uni-label {
line-height: 1.2;
overflow: hidden;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
min-height: 0px;
min-width: 0px;
}
uni-app uni-text,
......@@ -70,6 +75,9 @@ uni-app uni-list-view {
align-items: stretch;
align-content: flex-start;
justify-content: flex-start;
/* 默认情况下,元素不会缩短至小于内容框尺寸,若想改变这一状况,请设置元素的min-width 与 min-height属性。https://developer.mozilla.org/zh-CN/docs/Web/CSS/flex */
min-height: 0px;
min-width: 0px;
}
/* 与开发者元素接触的容器,此样式可被manifest.json内配置的flex-direction重置 */
......@@ -89,8 +97,6 @@ uni-app uni-scroll-view,
uni-app uni-list-view {
display: flex;
flex-direction: column;
min-height: 0px;
/* 默认情况下,元素不会缩短至小于内容框尺寸,若想改变这一状况,请设置元素的min-width 与 min-height属性。https://developer.mozilla.org/zh-CN/docs/Web/CSS/flex */
}
/* 与开发者元素接触的非滚动容器 */
......@@ -155,4 +161,4 @@ uni-app .uni-textarea-textarea {
/* 覆盖 video 的 poster 背景 */
uni-app .uni-video-cover {
background-color: unset;
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册