From ce9b739889ecb859995a55d5565f6afd23eb174f Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 13 Jul 2020 23:36:55 -0400 Subject: [PATCH] Add spacing to table cells in messages --- src/themes/Glass.qpl | 8 ++++++++ src/themes/Midnight.qpl | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/src/themes/Glass.qpl b/src/themes/Glass.qpl index ea166049..6717ceda 100644 --- a/src/themes/Glass.qpl +++ b/src/themes/Glass.qpl @@ -440,6 +440,14 @@ chat: "h5 { font-size: " + fontSize.small + "px }" + "h6 { font-size: " + fontSize.smaller + "px }" + + "table { margin-top: " + theme.spacing + "px; " + + " margin-bottom: " + theme.spacing + "px }" + + + "td { padding-left: " + theme.spacing / 2 + "px; " + + " padding-right: " + theme.spacing / 2 + "px; " + + " padding-top: " + theme.spacing / 4 + "px; " + + " padding-bottom: " + theme.spacing / 4 + "px } " + + ".sender { margin-bottom: " + spacing / 2 + " }" + ".quote { color: " + quote + " }" + diff --git a/src/themes/Midnight.qpl b/src/themes/Midnight.qpl index 41eb16d6..76c74ab1 100644 --- a/src/themes/Midnight.qpl +++ b/src/themes/Midnight.qpl @@ -449,6 +449,14 @@ chat: "h5 { font-size: " + fontSize.small + "px }" + "h6 { font-size: " + fontSize.smaller + "px }" + + "table { margin-top: " + theme.spacing + "px; " + + " margin-bottom: " + theme.spacing + "px }" + + + "td { padding-left: " + theme.spacing / 2 + "px; " + + " padding-right: " + theme.spacing / 2 + "px; " + + " padding-top: " + theme.spacing / 4 + "px; " + + " padding-bottom: " + theme.spacing / 4 + "px } " + + ".sender { margin-bottom: " + spacing / 2 + " }" + ".quote { color: " + quote + " }" +