1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Fix PHP 8.4 property hooks example not being full width when wrapped (#1522)

This commit is contained in:
Theodore Brown
2025-10-16 22:19:27 -05:00
committed by GitHub
parent e508d9ad8e
commit 95c7f6290e
2 changed files with 6 additions and 2 deletions

View File

@@ -101,9 +101,9 @@ PHP
</div>
</div>
<div class="php8-compare__arrow"></div>
<div class="php8-compare__block example-contents" style="display: table;">
<div class="php8-compare__block example-contents">
<div class="php8-compare__label php8-compare__label_new">PHP 8.4</div>
<div class="php8-code phpcode" style="display: table-cell;">
<div class="php8-code align-start phpcode">
<?php highlight_php_trimmed(
<<<'PHP'
class Locale

View File

@@ -305,6 +305,10 @@
margin: 0 !important;
}
.align-start {
align-items: start;
}
@media (max-width: 768px) {
.php8-code {
padding-left: 12px !important;