修改表格,等样式

This commit is contained in:
黄焱
2024-01-05 14:10:43 +08:00
parent 5b9b700372
commit e29883d0de
8 changed files with 107 additions and 8 deletions

View File

@@ -132,11 +132,11 @@ td.o_required_modifier {
//font-weight: bold;
}
.text-truncate {
overflow: unset !important;
text-overflow: unset !important;
white-space: nowrap!important;
}
//.text-truncate {
// overflow: unset !important;
// text-overflow: unset !important;
// white-space: nowrap!important;
//}
.o_list_renderer .o_list_table tbody > tr > td:not(.o_list_record_selector):not(.o_handle_cell):not(.o_list_button):not(.o_list_record_remove) {
white-space: nowrap !important;
@@ -383,7 +383,9 @@ div:has(.o_required_modifier) > label::before {
}
}
}
.oe_kanban_details li.o_text_overflow {
display: block;
}
.o_stock_kanban .o_kanban_card_content {
.row {
align-items: center;
@@ -411,4 +413,19 @@ div:has(.o_required_modifier) > label::before {
.o_inner_group.processingMethod {
grid-template-columns: auto;
}
}
// 设置所有表格序号列padding为0
.o_form_view .o_notebook > .tab-content > .tab-pane > :first-child:not(.o_group) .o_field_x2many.o_field_x2many_list tr > :first-child, .o_form_view .o_notebook > .tab-content > .tab-pane > :first-child.o_invisible_modifier + .o_field_widget .o_field_x2many.o_field_x2many_list tr > :first-child {
padding: 0;
text-align: center;
}
// 设置剩余number类型数据表格列 left
.o_list_renderer .o_list_table thead .o_list_number_th {
text-align:left;
}
.o_list_renderer .flex-row-reverse {
flex-direction: unset!important;
}

View File

@@ -1,4 +1,4 @@
.row_no {
width: 3.2% !important;
width: 35px !important;
vertical-align: middle;
}