diff --git a/res/fixtures/messaging.json b/res/fixtures/messaging.json index 81ac259..3d8f85b 100644 --- a/res/fixtures/messaging.json +++ b/res/fixtures/messaging.json @@ -261,7 +261,7 @@ "type": "text", "date": "2022-07-02T10:13:10.000Z", "from": "marc@prose.org", - "content": "I'm sharing a backtrace I just saw on the XMPP server:\n\n```\n&> Feb 13 20:43:50 modulemanager error Error initializing module 'storage_sql' on 'proxy.ssk.pm': /usr/share/lua/5.1/pr\nosody/util/startup.lua:203: module 'DBI' not found:No LuaRocks module found for DBI\n no field package.preload['DBI']\n no file './prosody/DBI.lua'\n no file './DBI.lua'\n no file '/usr/local/share/lua/5.1/prosody/DBI.lua'\n no file '/usr/local/share/lua/5.1/DBI.lua'\n```\n\nCan someone have a look at it? @[Valerian Saliou](xmpp:valerian@prose.org)", + "content": "I'm sharing a backtrace I just saw on the XMPP server:\n\n```\n&> Feb 13 20:43:50 modulemanager error Error initializing module 'storage_sql' on 'proxy.ssk.pm': /usr/share/lua/5.1/pr\nosody/util/startup.lua:203: module 'DBI' not found:No LuaRocks module found for DBI\n no field package.preload['DBI']\n no file './prosody/DBI.lua'\n no file './DBI.lua'\n no file '/usr/local/share/lua/5.1/prosody/DBI.lua'\n no file '/usr/local/share/lua/5.1/DBI.lua'\n```\n\nCan someone have a look at it? [@Valerian Saliou](xmpp:valerian@prose.org)", "metas": { "encrypted": true, diff --git a/src/messaging/components/message/message.css b/src/messaging/components/message/message.css index 0362953..55aedd6 100644 --- a/src/messaging/components/message/message.css +++ b/src/messaging/components/message/message.css @@ -20,7 +20,7 @@ } .message-line:first-child .message-inner { - margin-bottom: -3px; + margin-bottom: -0.25em; } .message-line.message-line--highlighted { @@ -41,7 +41,7 @@ line-height: var(--message-line-origin-height); display: flex; align-items: center; - margin-bottom: 4px; + margin-bottom: 0.15em; } .message-origin-name, @@ -99,7 +99,7 @@ .message-content { color: var(--color-black-medium); font-size: 1em; - line-height: 1.3em; + line-height: 1.5em; letter-spacing: 0; margin: 0; padding: 0; @@ -255,7 +255,7 @@ color: var(--color-blue-dark); background-color: var(--color-blue-light); text-decoration: none; - padding: 2px 4px 1px; + padding: 0.1em 0.3em 0.1em 0.15em; border-radius: 3px; }