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:
@@ -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
|
||||
|
||||
@@ -305,6 +305,10 @@
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.align-start {
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.php8-code {
|
||||
padding-left: 12px !important;
|
||||
|
||||
Reference in New Issue
Block a user