diff --git a/jikimo_frontend/static/src/scss/custom_style.scss b/jikimo_frontend/static/src/scss/custom_style.scss index 0d432091..d4df8c40 100644 --- a/jikimo_frontend/static/src/scss/custom_style.scss +++ b/jikimo_frontend/static/src/scss/custom_style.scss @@ -316,4 +316,28 @@ div[class="o_content o_component_with_search_panel"] .o_kanban_primary_right > . .o_horizontal_separator { font-size: 1.5rem; -} \ No newline at end of file +} + +.o_field_widget input[class='o_input'] { +text-align: center +} + +div:has(.o_required_modifier) > label::before { + position: absolute; + left: -3px; +} + +.o_form_view .o_form_label { + position: relative; + width: 9rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + padding-left: 1rem; +} + +.o_form_view .o_form_label:hover { + white-space: normal; + overflow: visible; +} + diff --git a/sf_maintenance/views/maintenance_views.xml b/sf_maintenance/views/maintenance_views.xml index 88b4daad..971deccf 100644 --- a/sf_maintenance/views/maintenance_views.xml +++ b/sf_maintenance/views/maintenance_views.xml @@ -265,6 +265,9 @@ attrs="{'required': [('equipment_type', '=', 'AGV小车')]}" options="{'format': false}"/> +