Author: Sergey Panteleev (saundefined)
Date: 2021-11-27T21:07:12+03:00
Commit:
https://github.com/php/web-php/commit/fd3fece7473bf0974f906123884364173a510104
Raw diff:
https://github.com/php/web-php/commit/fd3fece7473bf0974f906123884364173a510104.diff
Fix layout of PHP 8.1 release page
Changed paths:
M releases/8.1/release.inc
M styles/php8.css
Diff:
diff --git a/releases/8.1/release.inc b/releases/8.1/release.inc
index 8a2ce4225..667954c3e 100644
--- a/releases/8.1/release.inc
+++ b/releases/8.1/release.inc
@@ -571,7 +571,7 @@ PHP
<div class="php8-column">
<h2 class="php8-h2" id="other_new_things"><?=
message('other_new_title', $lang) ?></h2>
- <div class="php8-compare__content">
+ <div class="php8-compare__content php8-compare__content--block">
<ul>
<li><?= message('other_new_returntypewillchange', $lang)
?></li>
<li><?= message('other_new_fsync_fdatasync', $lang) ?></li>
diff --git a/styles/php8.css b/styles/php8.css
index d16f8e520..25b101594 100644
--- a/styles/php8.css
+++ b/styles/php8.css
@@ -276,6 +276,10 @@
margin-bottom: 24px;
}
+.php8-compare__content--block {
+ display: block;
+}
+
@media (max-width: 810px) {
.php8-compare__content {
display: block;
--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php