help3xsl/default.css |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit 72d4dba2488778d5da417e1b3b7c288c1532585a
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Sun May 11 11:24:51 2025 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Sun May 11 16:38:06 2025 +0200

    Try to improve visual for .code class in dark mode
    
    Change-Id: I071b43d1f62cb608703095eac368b0f15fefbe91
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/185186
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/help3xsl/default.css b/help3xsl/default.css
index 693b189c49..6a31459e84 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -139,6 +139,10 @@ pre,
     font-family: var(--font-mono);
     overflow-wrap: anywhere;
 }
+.code,
+.codeintable{
+    display:inline-block;
+}
 /* prevent SVGs without width from overflowing the container */
 img[src$=".svg"] {
     max-width: 100%;
@@ -1064,6 +1068,11 @@ li.disabled a {
         color: var(--visited-color);;
     }
 
+    .code,
+    .codeintable{
+        background-color:black;
+    }
+
     .note {
         background-color: #2E2E2E;
         border-left-color: #03DAC6;
@@ -1074,6 +1083,7 @@ li.disabled a {
         border-left-color: #BB86FC;
     }
 
+
     .warning {
         background-color: #2E2E2E;
         border-left-color: #CF6679;

Reply via email to