diff --git a/plugin/src/software/aws/toolkits/eclipse/amazonq/chat/ChatTheme.java b/plugin/src/software/aws/toolkits/eclipse/amazonq/chat/ChatTheme.java index 1c031f59..6308426d 100644 --- a/plugin/src/software/aws/toolkits/eclipse/amazonq/chat/ChatTheme.java +++ b/plugin/src/software/aws/toolkits/eclipse/amazonq/chat/ChatTheme.java @@ -100,6 +100,8 @@ private String getCssForDarkTheme() { // Card themeMap.put(QChatCssVariable.CardBackground, cardBackgroundColor); + themeMap.put(QChatCssVariable.LineHeight, "1.25em"); + return getCss(themeMap); } @@ -150,6 +152,8 @@ private String getCssForLightTheme() { // Card themeMap.put(QChatCssVariable.CardBackground, cardBackgroundColor); + themeMap.put(QChatCssVariable.LineHeight, "1.25em"); + return getCss(themeMap); } diff --git a/plugin/src/software/aws/toolkits/eclipse/amazonq/chat/models/QChatCssVariable.java b/plugin/src/software/aws/toolkits/eclipse/amazonq/chat/models/QChatCssVariable.java index a57c7ce2..d84c7e41 100644 --- a/plugin/src/software/aws/toolkits/eclipse/amazonq/chat/models/QChatCssVariable.java +++ b/plugin/src/software/aws/toolkits/eclipse/amazonq/chat/models/QChatCssVariable.java @@ -44,7 +44,9 @@ public enum QChatCssVariable { AlternateForeground("--mynah-color-alternate-reverse"), // Card - CardBackground("--mynah-card-bg"); + CardBackground("--mynah-card-bg"), + + LineHeight("--mynah-line-height"); private String value;