1
0
Fork 0
forked from forgejo/forgejo

Fix doc and heatmap for the Vue3 refactoring (#21312)

This commit is contained in:
wxiaoguang 2022-10-02 10:13:44 +08:00 committed by GitHub
parent 3d10193be2
commit eaa67671cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 24 deletions

View file

@ -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;