nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
951 stars 235 forks source link

Whitespace in Calendar Name is not treated consistently across the app #2714

Open paulcalabro opened 3 years ago

paulcalabro commented 3 years ago

Steps to reproduce

  1. Create a calendar event with an icon and then one ore more spaces: 🗑 No Garbage Removal
  2. View the Activity Feed
  3. It appears like this (note the icons for the event and calendar are smooshed together with the text):

Activity Feed:

Screen Shot 2020-11-20 at 9 57 38 AM

Calendar App:

Screen Shot 2020-11-20 at 10 05 02 AM Screen Shot 2020-11-20 at 10 04 54 AM

Expected behaviour

There is visual space between the icon and the text.

Actual behaviour

While the anchor does show the correct text in the HTML, including spaces, it appears to be styled incorrectly.

Calendar app

Calendar app version: 2.1.2

Client configuration

Browser: Google Chrome 86.0.4240.183

Operating system: MacOS

tcitworld commented 3 years ago

Works properly for me. Can you add Nextcloud server version and try on another browser?

image

tcitworld commented 3 years ago

Huh, didn't notice you had the issue as well on the calendar list.

paulcalabro commented 3 years ago

Hi @tcitworld, I observed this on both 20.0.1 and 20.0.2. I don't see this happening in FF, only Google Chrome. I also cleared my cache and still observed the same behavior in both the Activity and Calendar apps.

miaulalala commented 2 weeks ago

It's not sticking to the left any more, but the display is inconsistent:

Name:

image

Left sidebar:

image

Calendar picker:

image

Activity feed:

image

Either we trim whitespace consistently everywhere or we allow as much whitespace as a user wants; both is a bit weird.