Public bug reported: Issue:
In Ubuntu 18.04, there appears to be an issue with the alignment of the shown "Date" in the locked screen, i.e. `.screen-shield-clock-date{}` in `/usr/share/gnome-shell/theme/ubuntu.css`. It sometimes appear center- aligned and sometimes left-aligned w.r.t `.screen-shield-clock{}`. It seems that `.screen-shield-clock-date{}` is a child of .screen-shield-clock { color: white; text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6); font-weight: bold; text-align: center; padding-bottom: 1.5em; } which already contains the `text-align: center` argument to require center alignment. I have tried adding `margin: auto; width: 100%;` in both `.screen-shield-clock{}` and `.screen-shield-clock-date{}`, and also adding `text-align: center` in `.screen-shield-clock-date{}` but these approaches don't seem to work? How can a user fix this date alignment issue or is this a bug with gdm3? **System information:** $ lsb_release -rd Description: Ubuntu 18.04.3 LTS Release: 18.04 $ dpkg -l | grep gdm ii gdm3 3.28.3-0ubuntu18.04.4 amd64 GNOME Display Manager ii gir1.2-gdm-1.0 3.28.3-0ubuntu18.04.4 amd64 GObject introspection data for the GNOME Display Manager ii libgdm1 3.28.3-0ubuntu18.04.4 amd64 GNOME Display Manager (shared library) $ apt-cache policy gdm3 gdm3: Installed: 3.28.3-0ubuntu18.04.4 Candidate: 3.28.3-0ubuntu18.04.4 Version table: *** 3.28.3-0ubuntu18.04.4 500 500 http://sg.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 100 /var/lib/dpkg/status 3.28.0-0ubuntu1 500 500 http://sg.archive.ubuntu.com/ubuntu bionic/main amd64 Packages $ apt-cache policy gir1.2-gdm-1.0 gir1.2-gdm-1.0: Installed: 3.28.3-0ubuntu18.04.4 Candidate: 3.28.3-0ubuntu18.04.4 Version table: *** 3.28.3-0ubuntu18.04.4 500 500 http://sg.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 100 /var/lib/dpkg/status 3.28.0-0ubuntu1 500 500 http://sg.archive.ubuntu.com/ubuntu bionic/main amd64 Packages $ apt-cache policy libgdm1 libgdm1: Installed: 3.28.3-0ubuntu18.04.4 Candidate: 3.28.3-0ubuntu18.04.4 Version table: *** 3.28.3-0ubuntu18.04.4 500 500 http://sg.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 100 /var/lib/dpkg/status 3.28.0-0ubuntu1 500 500 http://sg.archive.ubuntu.com/ubuntu bionic/main amd64 Packages ** Affects: gdm3 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1840265 Title: "Date" in Ubuntu 18.04 Lock Screen is not always center aligned. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1840265/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs