Cleanup table rendering

fixes #1406
pull/1415/head
Nicolas Werner 2 years ago
parent b0e4cce065
commit d0d33660ba
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 6
      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] {

Loading…
Cancel
Save