Skip to content

Commit 95c7f62

Browse files
authored
Fix PHP 8.4 property hooks example not being full width when wrapped (#1522)
1 parent e508d9a commit 95c7f62

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

releases/8.4/release.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ PHP
101101
</div>
102102
</div>
103103
<div class="php8-compare__arrow"></div>
104-
<div class="php8-compare__block example-contents" style="display: table;">
104+
<div class="php8-compare__block example-contents">
105105
<div class="php8-compare__label php8-compare__label_new">PHP 8.4</div>
106-
<div class="php8-code phpcode" style="display: table-cell;">
106+
<div class="php8-code align-start phpcode">
107107
<?php highlight_php_trimmed(
108108
<<<'PHP'
109109
class Locale

styles/php8.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,10 @@
305305
margin: 0 !important;
306306
}
307307

308+
.align-start {
309+
align-items: start;
310+
}
311+
308312
@media (max-width: 768px) {
309313
.php8-code {
310314
padding-left: 12px !important;

0 commit comments

Comments
 (0)