mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
style(amis): 样式细节优化,避免异常溢出和换行展示 (#10072)
* style(amis): 样式细节优化,避免异常溢出和换行展示 * style(amis-editor): 属性配置面板样式补充,用于避免配置面板被超长的valueLabel撑开,导致样式异常
This commit is contained in:
parent
0818f6e437
commit
33e03555d8
@ -36,6 +36,11 @@ $tooltip-bottom: '[data-tooltip][data-position=' bottom ']:hover:after';
|
||||
&.width-draggable {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
// 用于避免右侧配置面板被超长的valueLabel撑开,导致样式异常
|
||||
.#{$ns}SubForm-valueLabel {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
// 外层有多个tab面板
|
||||
&.mul-tabs-panel {
|
||||
|
@ -681,6 +681,7 @@
|
||||
.#{$ns}ResultBox-value-wrap {
|
||||
justify-content: flex-end;
|
||||
text-align: right;
|
||||
flex-wrap: nowrap; // 避免右侧下拉箭头换行
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -452,6 +452,7 @@
|
||||
display: inline-block;
|
||||
margin: px2rem(3px);
|
||||
vertical-align: middle;
|
||||
max-width: 100%; // 避免超出父级容器显示
|
||||
|
||||
&-caret {
|
||||
transition: transform var(--animation-duration) ease-out;
|
||||
|
@ -54,7 +54,7 @@ const DEFAULT_EVENT_PARAMS = [
|
||||
|
||||
/**
|
||||
* Chart 图表渲染器。
|
||||
* 文档:https://aisuda.bce.baidu.com/amis/zh-CN/components/carousel
|
||||
* 文档:https://aisuda.bce.baidu.com/amis/zh-CN/components/chart
|
||||
*/
|
||||
export interface ChartSchema extends BaseSchema {
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user