Skip to content

Commit 844d269

Browse files
alfredangclaude
andcommitted
Fix footer layout: version left-aligned, powered-by centered
Separate version and powered-by into two block elements instead of absolute positioning, so they respect the container width properly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2ceb821 commit 844d269

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

app/design/adminhtml/default/default/template/page/footer.phtml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ if (file_exists($_commitVersionFile)) {
1616
$_commitVersion = trim(file_get_contents($_commitVersionFile));
1717
}
1818
?>
19-
<div class="legality" style="position:relative;text-align:center;">
20-
<?php $_v = $_commitVersion ? $_commitVersion : $_version; ?>
21-
<?php if ($_v): ?>
22-
<span style="position:absolute;left:0;color:var(--t5);font-size:11px;">version <?php echo htmlspecialchars($_v) ?></span>
23-
<?php endif; ?>
24-
<span>Powered by Tertiary Infotech Academy Pte Ltd &copy; <?php echo date('Y') ?></span>
25-
</div>
19+
<?php $_v = $_commitVersion ? $_commitVersion : $_version; ?>
20+
<?php if ($_v): ?>
21+
<p style="color:var(--t5);font-size:11px;text-align:left !important;margin:0 0 4px;">version <?php echo htmlspecialchars($_v) ?></p>
22+
<?php endif; ?>
23+
<p class="legality" style="text-align:center;">
24+
Powered by Tertiary Infotech Academy Pte Ltd &copy; <?php echo date('Y') ?>
25+
</p>

commit-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
15-04-2026 01:13
1+
15-04-2026 01:31

0 commit comments

Comments
 (0)