From 3093955db21855cc930908cc64f6c6b3945fae43 Mon Sep 17 00:00:00 2001
From: Christoph Lehmann <christoph.lehmann@ufz.de>
Date: Fri, 13 Sep 2024 08:35:26 +0200
Subject: [PATCH] [web] Style change: show no backticks in inline code

---
 web/tailwind.config.js | 35 +++++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)

diff --git a/web/tailwind.config.js b/web/tailwind.config.js
index d22f5fd8cbe..66cd361827d 100644
--- a/web/tailwind.config.js
+++ b/web/tailwind.config.js
@@ -7,14 +7,33 @@ module.exports = {
   ],
   theme: {
     extend: {
-      typography: {
-        DEFAULT: {
-          css: {
-            a: {
-              color: '#104EB2',
-            }
-          },
-        },
+      typography (theme) {
+        return {
+          DEFAULT: {
+            css: {
+              a: {
+                color: '#104EB2',
+              },
+              'code::before': {
+                content: 'none',
+              },
+              'code::after': {
+                content: 'none'
+              },
+              code: {
+                "font-weight": "normal",
+                borderRadius: theme('borderRadius.DEFAULT'),
+                paddingLeft: theme('spacing[1]'),
+                paddingRight: theme('spacing[1]'),
+                paddingTop: theme('spacing[0.5]'),
+                paddingBottom: theme('spacing[0.5]'),
+              },
+              'a code:hover': {
+                "font-weight": "bold",
+              },
+            },
+          }
+        };
       },
       fontFamily: {
         sans: ['Open Sans', ...defaultTheme.fontFamily.sans]
-- 
GitLab