From d0d33660ba62e9ca6e4317c20d2dbc875e1056a3 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 9 Mar 2023 21:08:18 +0100 Subject: [PATCH] Cleanup table rendering fixes #1406 --- resources/qml/delegates/TextMessage.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml index 06472220..eb46a9ac 100644 --- a/resources/qml/delegates/TextMessage.qml +++ b/resources/qml/delegates/TextMessage.qml @@ -26,12 +26,12 @@ MatrixText { border-width: 1px; border-collapse: collapse; border-style: solid; + border-color: " + Nheko.colors.text + "; + background-color: " + Nheko.colors.alternateBase + "; } table th, table td { - bgcolor: " + Nheko.colors.alternateBase + "; - border-collapse: collapse; - border: 1px solid " + Nheko.colors.text + "; + padding: " + Math.ceil(fontMetrics.lineSpacing/2) + "px; } blockquote { margin-left: 1em; } " + (!Settings.mobileMode ? "span[data-mx-spoiler] {