mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02: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
|
// TODO 2.8.0: Remove this when object details block completed, this is hardcoded for the demo
|
||||||
$oPage->add_style(<<<CSS
|
$oPage->add_style(<<<CSS
|
||||||
.object-details {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.object-details .ibo-title {
|
.object-details .ibo-title {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
position: absolute;
|
position: relative;
|
||||||
top: 0;
|
padding-left: 32px;
|
||||||
left: 32px;
|
|
||||||
}
|
}
|
||||||
.object-details .ibo-title .ibo-title--medallion {
|
.object-details .ibo-title .ibo-title--medallion {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -1008,7 +1004,6 @@ EOF
|
|||||||
}
|
}
|
||||||
.object-details .ibo-panel {
|
.object-details .ibo-panel {
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
margin-top: 48px;
|
|
||||||
}
|
}
|
||||||
.object-details .ibo-panel > .ibo-panel--body {
|
.object-details .ibo-panel > .ibo-panel--body {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
|
|||||||
@@ -19,4 +19,5 @@ use Combodo\iTop\Application\UI\Layout\UIContentBlock;
|
|||||||
class Column extends UIContentBlock {
|
class Column extends UIContentBlock {
|
||||||
// Overloaded constants
|
// Overloaded constants
|
||||||
public const BLOCK_CODE = 'ibo-column';
|
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