Files
gzth/yuthon_property_approval/static/src/scss/approval.scss
T
2026-09-23 17:59:05 +08:00

33 lines
1004 B
SCSS

.list_width{
width: 300px !important;
max-width: 300px !important;
}
// 成交确认:「每 __ 年递增 __ %」紧凑单行组合
// 根因:可编辑表单里 .o_form_editable .o_row > .o_field_widget 会被设成 flex:1 1 auto;width:0,把字段拉满整行,
// 导致末尾的「%」被顶到最右边。故不用 o_row,改用自定义类 + 固定窄宽度。
.o_confirm_increase_combo {
display: flex !important; // 单行 flex 排列
flex-flow: row nowrap !important; // 禁止换行
align-items: center !important; // 垂直居中
gap: 6px !important; // 元素间距
> * {
flex: 0 0 auto !important; // 所有子项均不拉伸
}
> span {
white-space: nowrap !important; // 文字不换行
}
// 两个数字字段固定窄宽度
.o_field_widget {
width: 90px !important;
}
// 输入框填满字段宽度
.o_field_widget input {
width: 100% !important;
}
}