From 308a60515e166a337312276c648640af81a5f6a2 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 12 Jan 2026 06:30:18 +0000 Subject: [PATCH] Integrate calendar RTL styles from rtl.css into application.css using logical properties (#43515). git-svn-id: https://svn.redmine.org/redmine/trunk@24300 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/assets/stylesheets/application.css | 6 +++--- app/assets/stylesheets/rtl.css | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 9a75e2fa8..d3fbdbda1 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -1410,15 +1410,15 @@ ul.cal { border: 1px solid var(--oc-gray-4); vertical-align: top; font-size: 0.9em; - border-bottom: 0; - border-right: 0; + border-block-end: 0; + border-inline-end: 0; line-height: 1.2; min-height: calc(1.2em * 6); padding: 2px; box-shadow: 0 1px 2px rgba(var(--oc-gray-9-rgb), 0.05); } -.cal .calbody p.day-num {font-size: 1.1em; text-align:right;} +.cal .calbody p.day-num {font-size: 1.1em; text-align: end;} .cal .calbody .abbr-day {display:none} .cal .calbody.this-month {background-color:var(--oc-white);} .cal .calbody.other-month {background-color:var(--oc-gray-1);} diff --git a/app/assets/stylesheets/rtl.css b/app/assets/stylesheets/rtl.css index 3b2f9fd85..ffa32fe0e 100644 --- a/app/assets/stylesheets/rtl.css +++ b/app/assets/stylesheets/rtl.css @@ -160,9 +160,6 @@ input.autocomplete { .role-visibility {padding-right:2em; padding-left:0;} -/***** Calendar *****/ -table.cal td p.day-num {text-align:left;} - /***** Diff *****/ /***** My page layout *****/