This commit is contained in:
李鹏宇
2025-05-15 13:26:22 +08:00
parent 05c7734240
commit c16541279d
2 changed files with 4 additions and 2 deletions
@@ -2,7 +2,8 @@
<templates xml:space="preserve">
<!--Dashboard Header : Show title and dashboard settings button-->
<t t-name="ks_dashboard_ninja.KsDashboardNinjaHeader" owl="1">
<div class="ks_dashboard_header d-flex p-3 w-100 bg-white justify-content-between flex-column flex-lg-row"
<t t-if="state.ks_dashboard_manager">
<div class="ks_dashboard_header d-flex p-3 w-100 bg-white justify-content-between flex-column flex-lg-row"
t-ref="ks_dashboard_header">
<t t-if="state.ks_dashboard_manager and !this.ks_dashboard_data.ks_ai_explain_dash">
<div class="dropdown config_dropdown">
@@ -338,6 +339,7 @@
</t>
</div>
</div>
</t>
<t t-call="ks_dashboard_ninja.ks_main_body_container"/>
</t>
<t t-name="ks_dn_layout_container">
@@ -3,7 +3,7 @@
th .text-truncate {
overflow: visible !important; // 强制显示溢出内容
text-overflow: clip !important; // 移除省略号(或直接不设置)
min-width: max-content !important; // 按内容撑开列宽(可选)
//min-width: max-content !important; // 按内容撑开列宽(可选)
}
//tr .o_data_cell {
// white-space: pre-wrap !important;