From eaa67671ccab8758fd194a46491790ea2a8045a9 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sun, 2 Oct 2022 10:13:44 +0800 Subject: Fix doc and heatmap for the Vue3 refactoring (#21312) --- web_src/less/features/heatmap.less | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'web_src/less/features') diff --git a/web_src/less/features/heatmap.less b/web_src/less/features/heatmap.less index 952d6f35ed..a6280e8b51 100644 --- a/web_src/less/features/heatmap.less +++ b/web_src/less/features/heatmap.less @@ -1,31 +1,27 @@ #user-heatmap { width: 100%; - text-align: center; + font-size: 9px; position: relative; min-height: 125px; - align-items: center; - justify-content: center; + + text { + fill: currentcolor !important; + } // for the "Less" and "More" legend + .vch__legend .vch__legend { + display: flex; + font-size: 11px; + align-items: center; + justify-content: right; + } .vch__legend .vch__legend div:first-child, .vch__legend .vch__legend div:last-child { display: inline-block; padding: 0 5px; } - > svg { - width: 100%; - } - - svg:not(:root) { - overflow: inherit; - padding: 0 !important; - } - - text { - fill: currentcolor !important; - } - + // move the "? contributions in the last ? months" text from top to bottom .total-contributions { font-size: 11px; position: absolute; -- cgit v1.2.3