From 09259483bc30d307856a475c443799d3171f6eae Mon Sep 17 00:00:00 2001 From: pwright64 Date: Fri, 21 Aug 2026 11:54:03 -0400 Subject: [PATCH 1/3] Table caption fix/update Change to table caption (table titles) behavior in mobile to fix table captions squishing and splitting to 3 lines. Increased .doctable caption line-height to 2rem for better readability. --- public/styles/theme-base.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/public/styles/theme-base.css b/public/styles/theme-base.css index 74a5351714..f8fd804ac1 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; From 55011a522ff8b2d6876331a6aa4216d2d2579df1 Mon Sep 17 00:00:00 2001 From: pwright64 Date: Wed, 2 Sep 2026 10:55:42 -0400 Subject: [PATCH 2/3] Table caption style fixes Changes to line height and display properties for table captions (table titles) -- split from white space edits --- public/styles/theme-base.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/styles/theme-base.css b/public/styles/theme-base.css index f8fd804ac1..d95f80c6a5 100644 --- a/public/styles/theme-base.css +++ b/public/styles/theme-base.css @@ -1003,6 +1003,7 @@ div.tip p:first-child { .docs .qandaentry dt .phpcode * { font-weight: normal; } + /* }}} */ @@ -1021,12 +1022,10 @@ 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; @@ -1553,7 +1552,6 @@ td { border-bottom: 1px solid #eee; position: relative; } - td:before { left: -.50rem; top: -0.3rem; From f970564655a410bb2588dcf2200b459e6e1f2f7a Mon Sep 17 00:00:00 2001 From: pwright64 Date: Wed, 2 Sep 2026 11:13:15 -0400 Subject: [PATCH 3/3] Whitespace uniformity Added a few extra blank lines and removed one blank line to increase visual uniformity in area surrounding code changes. --- public/styles/theme-base.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/styles/theme-base.css b/public/styles/theme-base.css index d95f80c6a5..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,10 +1021,12 @@ 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; @@ -1552,6 +1553,7 @@ td { border-bottom: 1px solid #eee; position: relative; } + td:before { left: -.50rem; top: -0.3rem;