From: Chocobozzz Date: Thu, 25 May 2023 14:15:12 +0000 (+0200) Subject: Fix primeng calendar style X-Git-Tag: v5.2.0-rc.1~14 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=e35967ee084a1cba8ed7bc893209bd69200ca3ca;p=github%2FChocobozzz%2FPeerTube.git Fix primeng calendar style --- diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index a721663ea..e288a3866 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss @@ -302,6 +302,9 @@ body .p-datepicker .p-datepicker-header .p-datepicker-title select:focus { outline-offset: 0; box-shadow: 0 0 0 0.2em pvar(--mainColorLightest); } +body .p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-month { + @include margin-right(0.5rem); +} body .p-datepicker table { font-size: 14px; margin: 0.857em 0 0 0; @@ -752,57 +755,6 @@ p-table { } } -// PrimeNG calendar tweaks -p-calendar .p-datepicker { - a { - @include disable-default-a-behaviour; - } - - .p-datepicker-header { - - .p-datepicker-year { - @include margin-left(5px); - } - - .p-datepicker-next { - @include chevron-right-default; - - color: #000 !important; - text-align: end; - - .pi.pi-chevron-right { - display: none !important; - } - } - - .p-datepicker-prev { - @include chevron-left-default; - - color: #000 !important; - text-align: start; - - .pi.pi-chevron-left { - display: none !important; - } - } - } - - .p-timepicker { - - .pi.pi-chevron-up { - @include chevron-up-default; - - color: #000 !important; - } - - .pi.pi-chevron-down { - @include chevron-down-default; - - color: #000 !important; - } - } -} - p-tablecheckbox:hover div .p-checkbox-box { box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2); }