22 lines
744 B
SCSS
22 lines
744 B
SCSS
// 业务流程图嵌入后端时的容器样式。
|
|
//
|
|
// .o_content 在 Odoo 里是 position: relative(见 web/static/src/webclient/webclient_layout.scss),
|
|
// 官方全屏内容(.o_view_controller)正是用 `position: absolute; inset: 0` 吃掉整块高度的。
|
|
// 这里沿用同一套路,而不是靠 height: 100% 逐层传递 —— 只要链上有一环高度是 auto
|
|
// (例如模板根节点没有 .o_action 时),百分比高度就会失效、iframe 会掉回默认 150px。
|
|
.o_bpd_visual {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background-color: #fff;
|
|
|
|
.o_bpd_visual_frame {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0;
|
|
}
|
|
}
|