Merge pull request '[v8.0/forgejo] [UI] Fix misalignment of authors for repo acctivity' (#5006) from bp-v8.0/forgejo-72f4130 into v8.0/forgejo
Some checks failed
/ release (push) Has been cancelled
testing / backend-checks (push) Has been cancelled
testing / frontend-checks (push) Has been cancelled
testing / test-unit (push) Has been cancelled
testing / test-remote-cacher (map[image:ghcr.io/microsoft/garnet-alpine:1.0.14 port:6379]) (push) Has been cancelled
testing / test-remote-cacher (map[image:redis:7.2 port:6379]) (push) Has been cancelled
testing / test-remote-cacher (map[image:registry.redict.io/redict:7.3.0-scratch port:6379]) (push) Has been cancelled
testing / test-mysql (push) Has been cancelled
testing / test-pgsql (push) Has been cancelled
testing / test-sqlite (push) Has been cancelled
testing / security-check (push) Has been cancelled

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5006
Reviewed-by: Otto <otto@codeberg.org>
This commit is contained in:
Gusted 2024-08-18 21:06:22 +00:00
commit 05af474e7a

View file

@ -68,7 +68,16 @@ const sfc = {
display: false,
},
ticks: {
color: 'transparent', // Disable drawing of labels on the x-axis.
// Disable the drawing of the labels on the x-asis and force them all
// of them to be 'shown', this avoids them being internally skipped
// for some data points. We rely on the internally generated ticks
// to know where to draw our own ticks. Set rotation to 90 degree
// and disable autoSkip. autoSkip is disabled to ensure no ticks are
// skipped and rotation is set to avoid messing with the width of the chart.
color: 'transparent',
minRotation: 90,
maxRotation: 90,
autoSkip: false,
},
},
y: {