mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2847 - Object details: Fix alert messages overlapping header and multicolumn layout
This commit is contained in:
@@ -989,15 +989,11 @@ EOF
|
||||
|
||||
// TODO 2.8.0: Remove this when object details block completed, this is hardcoded for the demo
|
||||
$oPage->add_style(<<<CSS
|
||||
.object-details {
|
||||
position: relative;
|
||||
}
|
||||
.object-details .ibo-title {
|
||||
z-index: 1;
|
||||
align-items: start;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 32px;
|
||||
position: relative;
|
||||
padding-left: 32px;
|
||||
}
|
||||
.object-details .ibo-title .ibo-title--medallion {
|
||||
position: absolute;
|
||||
@@ -1008,7 +1004,6 @@ EOF
|
||||
}
|
||||
.object-details .ibo-panel {
|
||||
z-index: 0;
|
||||
margin-top: 48px;
|
||||
}
|
||||
.object-details .ibo-panel > .ibo-panel--body {
|
||||
padding-top: 8px;
|
||||
|
||||
@@ -19,4 +19,5 @@ use Combodo\iTop\Application\UI\Layout\UIContentBlock;
|
||||
class Column extends UIContentBlock {
|
||||
// Overloaded constants
|
||||
public const BLOCK_CODE = 'ibo-column';
|
||||
public const HTML_TEMPLATE_REL_PATH = 'layouts/multicolumn/column/layout';
|
||||
}
|
||||
7
templates/layouts/multicolumn/column/layout.html.twig
Normal file
7
templates/layouts/multicolumn/column/layout.html.twig
Normal file
@@ -0,0 +1,7 @@
|
||||
{# @copyright Copyright (C) 2010-2020 Combodo SARL #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
<div class="ibo-column">
|
||||
{% for oSubBlock in oUIBlock.GetSubBlocks() %}
|
||||
{{ render_block(oSubBlock, {aPage: aPage}) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user