[tex4ht-commits] [SCM] tex4ht updated: r1738 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Sep 9 15:04:44 CEST 2025


Author: michal_h21
Date: 2025-09-09 13:04:43 +0000 (Tue, 09 Sep 2025)
New Revision: 1738

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
Log:
Add padding only to the toplevel tcolorbox element

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2025-09-09 12:56:07 UTC (rev 1737)
+++ trunk/lit/ChangeLog	2025-09-09 13:04:43 UTC (rev 1738)
@@ -1,5 +1,8 @@
 2025-09-09  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-html4.tex (html4.4ht): add padding only to direct
+	descendands of the top level tcolrobox element. 
+
 	* tex4ht-html4.tex (html4.4ht): actually use tcolorbox.documentation.
 
 2025-09-08  Michal Hoftich  <michal.h21 at gmail.com>

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2025-09-09 12:56:07 UTC (rev 1737)
+++ trunk/lit/tex4ht-html4.tex	2025-09-09 13:04:43 UTC (rev 1738)
@@ -17119,7 +17119,7 @@
   \Css{\#\:tcbcolid\space .tcolorbox-title{color: \:tcbcoltitle; background-color: \:tcbcolframe;}}
   \Css{\#\:tcbcolid\space .tcolorbox-content{color: \:tcbcolupper; background-color: \:tcbcolback; border: 1px solid \:tcbcolframe;}}
   % calculate paddings
-  \Css{\#\:tcbcolid\space div{
+  \Css{\#\:tcbcolid\space > div{
       padding-top:\calc:tcbpadding{\kvtcb at top};
       padding-bottom:\calc:tcbpadding{\kvtcb at bottom};
       padding-left:\calc:tcbpadding{\kvtcb at leftupper};



More information about the tex4ht-commits mailing list.