summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSimon Spannagel <simonspa@kth.se>2020-07-08 10:26:34 +0200
committerSimon Spannagel <simon.spannagel@cern.ch>2020-07-23 17:52:21 +0200
commit1fc54d3479ffdf47ebe355cde2c9ce25043ab4e4 (patch)
tree7ebe159ee4927b444389c784bcac34e3a4d37bdd /lib
parentf8955bd0d1fe3e51d88831bc4f4c934bdef1256a (diff)
downloadnextcloud-server-1fc54d3479ffdf47ebe355cde2c9ce25043ab4e4.tar.gz
nextcloud-server-1fc54d3479ffdf47ebe355cde2c9ce25043ab4e4.zip
Fix header logo size in notification mails
Signed-off-by: Simon Spannagel <simonspa@kth.se>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Mail/EMailTemplate.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php
index e91c1208cc6..2c8efa7e010 100644
--- a/lib/private/Mail/EMailTemplate.php
+++ b/lib/private/Mail/EMailTemplate.php
@@ -16,6 +16,7 @@ declare(strict_types=1);
* @author Morris Jobke <hey@morrisjobke.de>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
+ * @author Simon Spannagel <simonspa@kth.se>
*
* @license GNU AGPL version 3 or any later version
*
@@ -117,8 +118,8 @@ EOF;
<table class="row collapse" style="border-collapse:collapse;border-spacing:0;display:table;padding:0;position:relative;text-align:left;vertical-align:top;width:100%%">
<tbody>
<tr style="padding:0;text-align:left;vertical-align:top">
- <center data-parsed="" style="background-color:%s;min-width:150px;padding:50px 0;border-radius:200px">
- <img class="logo float-center" src="%s" alt="%s" align="center" style="-ms-interpolation-mode:bicubic;Margin:0 auto;clear:both;display:block;float:none;margin:0 auto;outline:0;text-align:center;text-decoration:none" height="50">
+ <center data-parsed="" style="background-color:%s;width:150px;height:150px;padding:0px;position:relative;border-radius:200px">
+ <img class="logo float-center" src="%s" alt="%s" align="center" style="-ms-interpolation-mode:bicubic;clear:both;display:block;float:none;outline:0;text-align:center;text-decoration:none;position:absolute;max-height:100px;max-width:100px;width:auto;height:auto;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;">
</center>
</tr>
</tbody>