From 7ab8fc5dbbf034bc62e81c592fe757243d113ce5 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 12 Jan 2026 09:16:58 +0000 Subject: [PATCH] Integrate `#version-summary` RTL styles from rtl.css into application.css using logical properties (#43515). git-svn-id: https://svn.redmine.org/redmine/trunk@24305 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/assets/stylesheets/application.css | 4 ++-- app/assets/stylesheets/rtl.css | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 429c8a608..9ee9e4ffc 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -891,10 +891,10 @@ body.controller-versions.action-show div#roadmap .related-issues {width:70%;} div#roadmap .version-article {padding-bottom: 12px;} -div#version-summary { float:right; width:28%; margin-left: 16px; margin-bottom: 16px; background-color: var(--oc-white); } +div#version-summary { float: inline-end; width: 28%; margin-inline-start: 16px; margin-block-end: 16px; background-color: var(--oc-white); } div#version-summary fieldset { margin-bottom: 1em; } div#version-summary fieldset.time-tracking table { width:100%; } -div#version-summary th, div#version-summary td.total-hours { text-align: right; } +div#version-summary th, div#version-summary td.total-hours { text-align: end; } table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; } table#time-report tbody tr.subtotal { font-style: italic; color:var(--oc-gray-6);} diff --git a/app/assets/stylesheets/rtl.css b/app/assets/stylesheets/rtl.css index 6cd8dbd83..809b2d8b6 100644 --- a/app/assets/stylesheets/rtl.css +++ b/app/assets/stylesheets/rtl.css @@ -83,9 +83,6 @@ fieldset#filters td.add-filter {text-align:left; } div#issue-changesets {float:left; margin-left:0em; margin-right:1em; padding-left:0em; padding-right:1em;} -div#version-summary { float:left; margin-left:0px; margin-right:16px;} -div#version-summary th, div#version-summary td.total-hours { text-align:left;} - table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align:left; padding-right:0em; padding-left: 0.5em; } /***** Tabular forms ******/