From 2bf326afa085effe9dfd8b4b8ee7cee3d86ed2e0 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Wed, 29 May 2024 23:41:42 +0800 Subject: [PATCH] Fixed issues --- .../gnome-shell/widgets/_calendar-44.scss | 26 +++++++++---------- .../gnome-shell/widgets/_message-list-46.scss | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/_sass/gnome-shell/widgets/_calendar-44.scss b/src/_sass/gnome-shell/widgets/_calendar-44.scss index c867c493..01a342d8 100644 --- a/src/_sass/gnome-shell/widgets/_calendar-44.scss +++ b/src/_sass/gnome-shell/widgets/_calendar-44.scss @@ -176,18 +176,18 @@ } } - .calendar-day-heading { //day of week heading - width: 24px !important; - height: 24px - $space-size !important; - margin-top: 2px !important; - padding: $space-size 0 0 !important; - border-radius: $circular-radius; - background-color: transparent !important; - color: $text-disabled !important; - @include font(caption); - font-weight: bold; - text-align: center; - } +.calendar-day-heading { //day of week heading + width: 24px !important; + height: 24px - $space-size !important; + margin-top: 2px !important; + padding: $space-size 0 0 !important; + border-radius: $circular-radius; + background-color: transparent !important; + color: $text-disabled !important; + @include font(caption); + font-weight: bold; + text-align: center; +} .calendar-day { //border collapse hack - see calendar.js border-width: 0; @@ -244,7 +244,7 @@ .calendar-week-number { margin: 6px !important; - padding: 0 8px !important; + padding: 0 $margin-size / 2 + $space-size !important; border-radius: $circular-radius; background-color: if($variant == 'light', rgba(black, 0.04), rgba(white, 0.03)); color: $text-disabled; diff --git a/src/_sass/gnome-shell/widgets/_message-list-46.scss b/src/_sass/gnome-shell/widgets/_message-list-46.scss index 588fc967..0c8e306f 100644 --- a/src/_sass/gnome-shell/widgets/_message-list-46.scss +++ b/src/_sass/gnome-shell/widgets/_message-list-46.scss @@ -196,7 +196,7 @@ /* Media Controls */ .message-media-control { - margin: $margin-size $space-size / 2 !important; + margin: (16px - $space-size * 2) $space-size / 2 !important; padding: 0 $space-size * 2 !important; border-radius: $circular-radius; color: $text-secondary;