Author: Derick Rethans (derickr)
Date: 2026-09-22T15:10:04+01:00

Commit: 
https://github.com/php/web-php/commit/8eb3b961598d894a18cf6210cce7f9156d6a9e0e
Raw diff: 
https://github.com/php/web-php/commit/8eb3b961598d894a18cf6210cce7f9156d6a9e0e.diff

Merged pull request #1994

* pr/1994:
  Whitespace uniformity
  Table caption fix/update

Changed paths:
  M  public/styles/theme-base.css


Diff:

diff --git a/public/styles/theme-base.css b/public/styles/theme-base.css
index 74a5351714..e2c8f16778 100644
--- a/public/styles/theme-base.css
+++ b/public/styles/theme-base.css
@@ -1003,7 +1003,6 @@ div.tip p:first-child {
 .docs .qandaentry dt .phpcode * {
     font-weight: normal;
 }
-
 /* }}} */
 
 
@@ -1022,15 +1021,20 @@ div.tip p:first-child {
     width: 100%;
     margin:0 0 1.5rem;
 }
+
 .doctable thead tr,
 .segmentedlist thead tr {
     border:1px solid;
 }
+
 .doctable tr,
 .segmentedlist tr {
     border:1px solid;
 }
 
+.doctable caption {
+  line-height: 2rem;
+}
 /* }}} */
 
 /* {{{ lists */
@@ -1528,6 +1532,11 @@ td {
     display: block;
   }
 
+  /* Prevent table titles from breaking into multiple lines */
+  table caption {
+    display: inline;
+  }
+
   /* Hide the table headers */
   thead tr {
     position: absolute;
@@ -1544,6 +1553,7 @@ td {
     border-bottom: 1px solid #eee;
     position: relative;
   }
+
   td:before {
     left: -.50rem;
     top: -0.3rem;

Reply via email to