From ea827a72f260f85293599f73f0fc6faaa4a6ccc6 Mon Sep 17 00:00:00 2001 From: Steve M <29017677+smurphos@users.noreply.github.com> Date: Mon, 11 Feb 2019 09:16:59 +0000 Subject: [PATCH] Cinnamon - calendar alignment improvements (#189) * Cinnamon - calendar alignment improvements * Cinnamon - calendar - keep alignment if text scaling is active --- common/cinnamon/sass/_common.scss | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/common/cinnamon/sass/_common.scss b/common/cinnamon/sass/_common.scss index bbffe58..533cdff 100644 --- a/common/cinnamon/sass/_common.scss +++ b/common/cinnamon/sass/_common.scss @@ -705,17 +705,19 @@ StScrollBar { .calendar-day-base { font-size: 80%; text-align: center; - width: 25px; - height: 25px; + width: 2.5em; + height: 2.5em; padding: 0.1em; - margin: 2px; - border-radius: 12.5px; + margin: 0.1em; + border-radius: 999px; } .calendar-day-heading { color: transparentize($fg_color, 0.15); margin-top: 1em; font-size: 70%; + width: 2.5em; + height: 2em; } .calendar-day { @@ -735,6 +737,7 @@ StScrollBar { color: $fg_color; background-color: transparent; font-weight: bold; + border-width: 0; } .calendar-today, @@ -755,6 +758,10 @@ StScrollBar { .calendar-week-number { color: transparentize($fg_color, 0.3); font-size: 80%; + width: 2.5em; + height: 2em; + padding: 0.7em 0 0; + text-align: center; } //