diff --git a/yuthon_property/static/src/scss/property_scss.scss b/yuthon_property/static/src/scss/property_scss.scss index 864cb4082..c65e9be32 100644 --- a/yuthon_property/static/src/scss/property_scss.scss +++ b/yuthon_property/static/src/scss/property_scss.scss @@ -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; } \ No newline at end of file