Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions releases/8.5/release.inc
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ PHP
<div class="release-notes-grid-container">
<div class="release-notes-grid">
<div>
<h2><?= message('new_classes_title', $lang) ?></h2>
<h2 id="additional-improvements"><?= message('new_classes_title', $lang) ?></h2>
<ul class="new">
<li><?= message('fatal_error_backtrace', $lang) ?></li>
<li><?= message('const_attribute_target', $lang) ?></li>
Expand All @@ -712,7 +712,7 @@ PHP
</ul>
</div>
<div>
<h2><?= message('bc_title', $lang) ?></h2>
<h2 id="deprecations-and-bc-breaks"><?= message('bc_title', $lang) ?></h2>
<ul class="old">
<li><?= message('bc_backtick_operator', $lang, [
'<a href="/manual/' . $documentation . '/function.shell-exec.php"><code>shell_exec()</code></a>'
Expand Down
27 changes: 18 additions & 9 deletions styles/php85.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,15 @@ code[class*=language-], pre[class*=language-] {
}

.features-title h2,
.release-notes h2,
.before-and-after-title-and-description h2 {
position: relative;
overflow: visible;
display: inline-block;
}

.features-title h2 .genanchor,
.release-notes h2 .genanchor,
.before-and-after-title-and-description h2 .genanchor {
position: absolute;
top: 4px;
Expand All @@ -97,11 +99,13 @@ code[class*=language-], pre[class*=language-] {
}

.dark .features-title h2 .genanchor,
.dark .release-notes h2 .genanchor,
.dark .before-and-after-title-and-description h2 .genanchor {
background: url("/images/php8/anchor-white.svg") scroll no-repeat left center / 21px 16px transparent;
}

.features-title h2:hover .genanchor,
.release-notes h2:hover .genanchor,
.before-and-after-title-and-description h2:hover .genanchor {
display: block;
}
Expand Down Expand Up @@ -1939,7 +1943,9 @@ header nav {
border-color: var(--color-gray-200);
background-color: var(--color-white);
position: relative;
overflow: hidden
overflow: hidden;
display: flex;
flex-direction: column;
}

.code-container:where(.dark,.dark *) {
Expand Down Expand Up @@ -2051,13 +2057,17 @@ header nav {
height: calc(var(--spacing) * 4)
}

.code-container .phpcode {
flex: 1;
display: flex;
flex-direction: column;
}

.code-container pre {
min-height: 100%;
flex: 1;
font-size: var(--text-xs);
line-height: var(--tw-leading, var(--text-xs--line-height));
--tw-leading: var(--leading-loose);
line-height: var(--leading-loose);
white-space: pre-wrap;
white-space: pre;
display: flex
}

Expand All @@ -2070,7 +2080,7 @@ header nav {

.code-container code {
height: 100%;
padding: var(--spacing);
padding: 1.25em;
color: var(--color-gray-400);
flex: 1;
overflow: auto
Expand Down Expand Up @@ -2164,7 +2174,6 @@ header nav {
}

.release-notes ul {
margin-top: calc(var(--spacing) * 6);
margin-left: calc(var(--spacing) * 4);
list-style-type: disc
}
Expand Down Expand Up @@ -3550,8 +3559,8 @@ footer p:where(.dark,.dark *) {
color: var(--color-gray-400)
}

.php85 .phpcode {
padding: 1em;
.php85 .phpcode code {
white-space: revert;
}

.dark .php85 .phpcode::selection {
Expand Down