server icon indicating copy to clipboard operation
server copied to clipboard

css issue in welcome email

Open phonon112358 opened this issue 6 years ago • 4 comments

Steps to reproduce

  1. create new user with email address but without password
  2. open the welcome email
  3. Zoom in

Expected behaviour

All texts are fully readable at all zooming levels and on all devices/email programs.

Actual behaviour

The text on the left button "Set your password" (in german: "Setze Dein Passwort") is not fully shown but cut off. This happens at least in Thunderbird when one zooms in a bit (because then the text is split into two lines and the button doesn't resize enough). The button to download the client resizes correctly, however.

Server configuration

Operating system: Debian 10

Web server: nginx

Database: mariadb 10.4

PHP version: 7.3

Nextcloud version: (see Nextcloud admin page) 17.0.3

Updated from an older Nextcloud/ownCloud or fresh install: Update from NC 17.0.x

Where did you install Nextcloud from: full local install on my home server

Client configuration

Browser: Thunderbird

Operating system: windows 10

phonon112358 avatar Feb 01 '20 19:02 phonon112358

There's the same problem when the website name is too long and the user already has a password. The text of the button is "Go to %website_name%", when %website_name% is too long, the white text in the button is on the white background of the email.

The bug is still in 18.0.4

The solution is to change the max-height of the table containing the button

It seems to be fixed in "master" as the max-height is now 60px which will allow a 2 line button https://github.com/nextcloud/server/blob/master/lib/private/Mail/EMailTemplate.php#L235

sbouafif avatar May 06 '20 08:05 sbouafif

This is a duplicate of issue https://github.com/nextcloud/server/issues/13287 and is fixed in the current release Nextcloud 19 through pull request https://github.com/nextcloud/server/issues/13287 by @liamjack :)

jancborchardt avatar Jun 11 '20 11:06 jancborchardt

Thanks! ;) and sorry for the duplicate!

phonon112358 avatar Jun 11 '20 13:06 phonon112358

No worries at all. :) Thank you for taking the time to report issues.

jancborchardt avatar Jun 11 '20 16:06 jancborchardt