!11477 字段样式优化

Merge pull request !11477 from 李鹏宇/dev_wang
This commit is contained in:
李鹏宇
2026-05-13 09:34:31 +00:00
committed by Gitee
@@ -1,4 +1,3 @@
.list_ids_width{
width: 80px !important;
max-width: 80px !important;
@@ -7,4 +6,45 @@
.list_name_width{
width: 300px !important;
max-width: 300px !important;
}
.o_m2o_mutil_line {
white-space: normal !important;
word-break: break-all !important;
word-wrap: break-word !important;
}
/* 覆盖 many2one 下拉选项 */
.o-autocomplete .dropdown-item {
white-space: normal !important;
word-break: break-all !important;
word-wrap: break-word !important;
}
/* 覆盖 select2 下拉选项 */
.select2-container--odoo .select2-results__option {
white-space: normal !important;
word-break: break-all !important;
word-wrap: break-word !important;
}
/* 覆盖选择器弹窗中的表格单元格 */
.modal-dialog .o_list_view .o_list_table td {
white-space: normal !important;
word-break: break-all !important;
word-wrap: break-word !important;
}
/* 覆盖搜索更多弹窗中的表格 */
.o_field_many2one .modal-body .o_list_view td {
white-space: normal !important;
word-break: break-all !important;
word-wrap: break-word !important;
}
/* 覆盖通用的列表视图单元格 */
.o_list_view .o_list_table td {
white-space: normal !important;
word-break: break-all !important;
word-wrap: break-word !important;
}