From 2ea33b585473f7825b27de9bcec3c3ff36ce4739 Mon Sep 17 00:00:00 2001 From: Max Pozdeev Date: Mon, 21 Sep 2020 11:27:38 +0300 Subject: [PATCH] rtl fixes --- src/content/themes/default/style.css | 8 +++----- src/content/themes/default/style_rtl.css | 2 ++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/content/themes/default/style.css b/src/content/themes/default/style.css index 1074bdf..9df0241 100644 --- a/src/content/themes/default/style.css +++ b/src/content/themes/default/style.css @@ -177,10 +177,8 @@ li.task-expanded .task-toggle { transform:rotate(90deg); } .task-actions { flex:0 0 1rem; margin-left:5px; } .task-left label { min-width:18px; text-align:center; } /* Safari has small checkboxes */ -.task-title { display:inline-block; } -.task-date { color:#999999; font-size:0.8rem; margin-left:4px; display:inline-block; display:none; } +.task-date { color:#999999; font-size:0.8rem; margin-left:4px; display:none; } .task-date-completed { color:#999999; display:none; margin-left:5px; } -.show-inline-date .task-date { display:inline-block; } .show-inline-date li.task-completed .task-date-completed { display:inline; } .show-inline-date li.task-completed .task-date { display:none; } .task-through { overflow:hidden; flex-grow:1; } @@ -189,7 +187,7 @@ li.task-expanded .task-toggle { transform:rotate(90deg); } .task-title a:hover { color:#af0000; } #mtt_body.readonly #tasklist li .task-actions { display:none; } .task-listname { background-color:#eee; color:#555; padding:0px 3px; } -.task-tags { padding:0px 2px; display:inline-block; } +.task-tags { padding:0px 2px; } .task-tags .tag { font-size:0.8rem; font-weight:bold; color:#333333; text-decoration:underline; } .task-tags .tag:hover { } .duedate { color:#333333; padding:0px; padding-left:1px; margin-left:5px; white-space:nowrap; } @@ -234,7 +232,7 @@ li.task-completed .task-note-block .task-note { text-decoration:line-through; } .task-note span a { color:#777777; } .task-note span a:hover { color:#af0000; } -.task-prio { padding-left:2px; padding-right:2px; margin-left:0px; margin-right:5px; cursor:default; display:inline-block; } +.task-prio { padding-left:2px; padding-right:2px; margin-left:0px; margin-right:5px; cursor:default; } .prio-neg { background-color:#3377ff; color:#ffffff; } .prio-pos { background-color:#ff3333; color:#ffffff; } .prio-pos-1 { background-color:#ff7700; color:#ffffff; } diff --git a/src/content/themes/default/style_rtl.css b/src/content/themes/default/style_rtl.css index 512d9f2..eec5ad5 100644 --- a/src/content/themes/default/style_rtl.css +++ b/src/content/themes/default/style_rtl.css @@ -17,6 +17,8 @@ h2 { padding-left:10px; padding-right:0px; } .task-middle { margin-left:0; margin-right:5px; } .task-actions { margin-left:0; margin-right:5px; } +.task-prio, .task-title, .task-date, .task-tags { display:inline-block; } /* TODO: fix this */ + .task-prio { margin-left:5px; margin-right:0; } .task-note-block { margin-left:0; margin-right:2px; padding-left:0; padding-right:19px; background-position:right 0px;} .task-date { margin-left:0; margin-right:4px; }