diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2022-10-02 10:13:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-02 10:13:44 +0800 |
commit | eaa67671ccab8758fd194a46491790ea2a8045a9 (patch) | |
tree | f62f5ccfb125c2b22d4859f2b904a2f9844f7983 /web_src/less | |
parent | 3d10193be2b4476d1d0d3249a9884fcc0faa64e5 (diff) | |
download | gitea-eaa67671ccab8758fd194a46491790ea2a8045a9.tar.gz gitea-eaa67671ccab8758fd194a46491790ea2a8045a9.zip |
Fix doc and heatmap for the Vue3 refactoring (#21312)
Diffstat (limited to 'web_src/less')
-rw-r--r-- | web_src/less/features/heatmap.less | 28 |
1 files changed, 12 insertions, 16 deletions
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; |