From dd33c3bf10abdeb48f4aa8fca5304185b7419df3 Mon Sep 17 00:00:00 2001 From: MAEDA Go Date: Mon, 14 Oct 2024 14:36:15 +0900 Subject: [PATCH 1/2] Right-align "Hours" column in spent time details table --- app/assets/stylesheets/application.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 03eb5d6c0..c239b0fca 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -288,6 +288,7 @@ div + .drdn-items {border-top:1px solid #ccc;} /***** Tables *****/ table.list, .table-list { font-size: 0.8125rem; + font-variant-numeric: tabular-nums; border-top: 1px solid #d0d7de; border-bottom: 1px solid #d0d7de; border-collapse: collapse; @@ -407,8 +408,8 @@ tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:c tr.time-entry { text-align: center; white-space: nowrap; } tr.time-entry td.issue, tr.time-entry td.comments, tr.time-entry td.subject, tr.time-entry td.activity, tr.time-entry td.project { text-align: left; white-space: normal; } -td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; } -td.hours .hours-dec { font-size: 0.9em; } +table.time-entries td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; } +table.time-entries td.hours .hours-dec { font-size: 0.9em; } table.plugins td { vertical-align: middle; } table.plugins td.configure { text-align: right; padding-right: 1em; } -- 2.45.2