Skip to content
Snippets Groups Projects
Commit b2732daf authored by Torben Hansen's avatar Torben Hansen Committed by Stefan Bürk
Browse files

[BUGFIX] Fix record history element viewport overflow


This patch adds a missing `col` divider element in the record
history element, so the element is correctly positioned in the
bootstrap grid system and content does not overflow the viewport.

Resolves: #99823
Releases: main, 11.5
Signed-off-by: default avatarTorben Hansen <derhansen@gmail.com>
Change-Id: I2fc4e35a171c160e136e49f8d076c6527131999a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77963


Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 6cd0c3c2
Branches
Tags
......@@ -10,19 +10,21 @@
<div class="col"><h4>{historyRow.title}</h4></div>
</div>
<div class="row">
<f:if condition="{historyRow.insertDelete} || {historyRow.differences -> f:count()}">
<div class="ps-2 pb-1 ms-3 history-block">
<f:if condition="{historyRow.insertDelete} == 'delete'">
<strong>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:delete')}</strong><br/>
</f:if>
<f:if condition="{historyRow.insertDelete} == 'insert'">
<strong>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:insert')}</strong><br/>
</f:if>
<f:if condition="{historyRow.differences}">
<f:render partial="RecordHistory/Diff" arguments="{differences: historyRow.differences}"/>
</f:if>
</div>
</f:if>
<div class="col">
<f:if condition="{historyRow.insertDelete} || {historyRow.differences -> f:count()}">
<div class="ps-2 pb-1 ms-3 history-block">
<f:if condition="{historyRow.insertDelete} == 'delete'">
<strong>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:delete')}</strong><br/>
</f:if>
<f:if condition="{historyRow.insertDelete} == 'insert'">
<strong>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:insert')}</strong><br/>
</f:if>
<f:if condition="{historyRow.differences}">
<f:render partial="RecordHistory/Diff" arguments="{differences: historyRow.differences}"/>
</f:if>
</div>
</f:if>
</div>
</div>
</f:for>
</div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment