mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-29 16:49:34 +01:00
Disable second row of images, reset sizes of all fonts upon message loading.
This commit is contained in:
parent
0fd3a6c8d3
commit
8849d47c48
@ -1 +1 @@
|
||||
<a class="button small primary" href="%1">%2 <span style="line-height: 100%; vertical-align: middle; font-size: 55%;">%3</span></a>
|
||||
<a class="button small primary" href="%1">%2<span style="text-transform: uppercase;">%3</span></a>
|
@ -1,5 +1,5 @@
|
||||
<div class="card filled fluid" dir="auto">
|
||||
<h5 class="doc section">%1 <a class="button small primary" href="%3">URL</a> %6</h5>
|
||||
<h5 class="doc section">%1 <a class="button small primary" href="%3">🔗URL</a> %6</h5>
|
||||
<div class="doc section">
|
||||
<div style="text-align: center;">
|
||||
%2, %5
|
||||
|
File diff suppressed because one or more lines are too long
@ -54,6 +54,10 @@ WebPage* WebViewer::page() const {
|
||||
|
||||
void WebViewer::displayMessage() {
|
||||
setHtml(m_messageContents, QUrl::fromUserInput(INTERNAL_URL_MESSAGE));
|
||||
|
||||
qDebugNN << LOGSEC_CORE
|
||||
<< "Displaying contents:"
|
||||
<< QUOTE_W_SPACE_DOT(m_messageContents);
|
||||
}
|
||||
|
||||
bool WebViewer::increaseWebPageZoom() {
|
||||
@ -115,13 +119,15 @@ void WebViewer::loadMessages(const QList<Message>& messages, RootItem* root) {
|
||||
enclosures += skin.m_enclosureMarkup.arg(enc_url,
|
||||
QSL("🧷"), enclosure.m_mimeType);
|
||||
|
||||
if (enclosure.m_mimeType.startsWith(QSL("image/"))) {
|
||||
// Add thumbnail image.
|
||||
enclosure_images += skin.m_enclosureImageMarkup.arg(
|
||||
/*
|
||||
if (enclosure.m_mimeType.startsWith(QSL("image/"))) {
|
||||
// Add thumbnail image.
|
||||
enclosure_images += skin.m_enclosureImageMarkup.arg(
|
||||
enclosure.m_url,
|
||||
enclosure.m_mimeType,
|
||||
qApp->settings()->value(GROUP(Messages), SETTING(Messages::MessageHeadImageHeight)).toString());
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
messages_layout.append(single_message_layout
|
||||
|
Loading…
x
Reference in New Issue
Block a user