列宽
This commit is contained in:
@@ -23,4 +23,51 @@
|
|||||||
}
|
}
|
||||||
.o_list_view .o_list_table thead th[data-name="is_boss"] {
|
.o_list_view .o_list_table thead th[data-name="is_boss"] {
|
||||||
color: #4B5563 !important;
|
color: #4B5563 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== view_issue_library_tree4 的议题名称(name)超过 20 字自动换行 =====
|
||||||
|
20 个汉字约 320px(16px/字),加单元格内边距后锁 500px,
|
||||||
|
20 字以内一行,21 字以上自动折到下一行。*/
|
||||||
|
.o_issue_library_name_wrap {
|
||||||
|
/*锁列宽:保证 20 字单行显示、超过则换行*/
|
||||||
|
max-width: 500px !important;
|
||||||
|
width: 500px !important;
|
||||||
|
min-width: 500px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*对单元格及所有子元素强制换行 + 剥离 chip 容器外观*/
|
||||||
|
.o_issue_library_name_wrap,
|
||||||
|
.o_issue_library_name_wrap *,
|
||||||
|
.o_issue_library_name_wrap .o_field_widget,
|
||||||
|
.o_issue_library_name_wrap .o_field_char,
|
||||||
|
.o_issue_library_name_wrap a,
|
||||||
|
.o_issue_library_name_wrap span,
|
||||||
|
.o_issue_library_name_wrap input {
|
||||||
|
white-space: normal !important;
|
||||||
|
word-break: break-word !important;
|
||||||
|
overflow-wrap: break-word !important;
|
||||||
|
overflow: visible !important;
|
||||||
|
text-overflow: clip !important;
|
||||||
|
/*去除任何 chip/容器外观的兜底样式(背景/边框/圆角/阴影/内外边距)*/
|
||||||
|
background: transparent !important;
|
||||||
|
background-color: transparent !important;
|
||||||
|
border: 0 !important;
|
||||||
|
border-color: transparent !important;
|
||||||
|
border-style: none !important;
|
||||||
|
border-radius: 0 !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
outline: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*若被包裹在 <a> 内,把 <a> 改成 display:contents 避免出现块状容器*/
|
||||||
|
.o_issue_library_name_wrap a {
|
||||||
|
display: contents !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*td 自身保持合适行高,避免被任意内容撑高*/
|
||||||
|
.o_issue_library_name_wrap {
|
||||||
|
line-height: normal !important;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
@@ -723,7 +723,7 @@
|
|||||||
<button name="all_meeting_issue" type="object" string="会议安排" class="oe_highlight"/>
|
<button name="all_meeting_issue" type="object" string="会议安排" class="oe_highlight"/>
|
||||||
<button name="issue_class_approval" type="object" string="批量审批" class="oe_highlight"/>
|
<button name="issue_class_approval" type="object" string="批量审批" class="oe_highlight"/>
|
||||||
</header>
|
</header>
|
||||||
<field name="name"/>
|
<field name="name" class="o_issue_library_name_wrap" options="{'width': '500px'}" width="500px"/>
|
||||||
<field name="department_id"/>
|
<field name="department_id"/>
|
||||||
<field name="creart_datetime"/>
|
<field name="creart_datetime"/>
|
||||||
<field name="is_class"/>
|
<field name="is_class"/>
|
||||||
@@ -923,7 +923,7 @@
|
|||||||
<header>
|
<header>
|
||||||
<button name="all_meeting_issue" type="object" string="会议安排" class="oe_highlight"/>
|
<button name="all_meeting_issue" type="object" string="会议安排" class="oe_highlight"/>
|
||||||
</header>
|
</header>
|
||||||
<field name="name"/>
|
<field name="name" class="o_issue_library_name_wrap" options="{'width': '500px'}" width="500px"/>
|
||||||
<field name="department_id"/>
|
<field name="department_id"/>
|
||||||
<field name="creart_datetime"/>
|
<field name="creart_datetime"/>
|
||||||
<field name="is_boss" groups="yuthon_salary.group_jtbb_user"/>
|
<field name="is_boss" groups="yuthon_salary.group_jtbb_user"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user