From 51804006405f669fc5c1a950a040afed8d984ad9 Mon Sep 17 00:00:00 2001 From: Max Pozdeev Date: Sun, 20 Sep 2020 17:59:39 +0300 Subject: [PATCH] replace float with flex in tasks h3 --- src/content/themes/default/style.css | 3 ++- src/content/themes/default/style_rtl.css | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/content/themes/default/style.css b/src/content/themes/default/style.css index 6525f04..90c6cae 100644 --- a/src/content/themes/default/style.css +++ b/src/content/themes/default/style.css @@ -134,6 +134,7 @@ a { color:#0000ff; cursor:pointer; text-decoration:underline; } #searchbarkeyword { font-weight:bold; } /* */ +#page_tasks h3 { display:flex; align-items:baseline; } #mtt_body.no-lists #page_tasks h3 > * { visibility:hidden; } .mtt-notes-showhide { font-size:0.8rem; font-weight:normal; margin-left:2px; margin-right:2px; } .mtt-notes-showhide a { text-decoration:none; border-bottom:1px dotted; } @@ -274,7 +275,7 @@ a.mtt-back-button { font-size:0.8rem; } #priopopup .prio-pos:hover { border-color:#ff3333; } #priopopup .prio-pos-1:hover { border-color:#ff7700; } -#tagcloudbtn { margin-right:2px; font-size:0.8rem; font-weight:normal; float:right; } +#tagcloudbtn { font-size:0.8rem; font-weight:normal; margin-left:auto; } #mtt_body.show-all-tasks #tagcloudbtn { display:none; } #tagcloudload { display:none; height:24px; background:url(images/loading48.gif) center no-repeat; background-size:24px 24px; } #tagcloud { diff --git a/src/content/themes/default/style_rtl.css b/src/content/themes/default/style_rtl.css index 1218298..f218577 100644 --- a/src/content/themes/default/style_rtl.css +++ b/src/content/themes/default/style_rtl.css @@ -11,6 +11,8 @@ h2 { padding-left:10px; padding-right:0px; } .mtt-searchbox-icon.mtt-icon-search { right:4px; left:auto; } .mtt-searchbox-icon.mtt-icon-cancelsearch { left:4px; right:auto; } +#tagcloudbtn { margin-left:0; margin-right:auto; } + .task-toggle { margin-left:2px; margin-right:0; transform:rotate(180deg); } .task-middle { margin-left:0; margin-right:5px; } .task-actions { margin-left:0; margin-right:5px; }