mirror of https://github.com/go-gitea/gitea.git
Backport #35876 by @silverwind 1. Set a fixed height on the element, preventing the content after the element from shifting on page load. This uses CSS [container query length units](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_queries#container_query_length_units) as I saw no other way because of the non-linear scaling of the element. 2. Move the "total-contributions" text into the existing vue slot, eliminating the need for absolute positioning. Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
||
|---|---|---|
| .. | ||
| components | ||
| features | ||
| markup | ||
| modules | ||
| render | ||
| standalone | ||
| utils | ||
| vendor | ||
| webcomponents | ||
| bootstrap.test.ts | ||
| bootstrap.ts | ||
| globals.d.ts | ||
| globals.ts | ||
| htmx.ts | ||
| index-domready.ts | ||
| index.ts | ||
| svg.test.ts | ||
| svg.ts | ||
| types.ts | ||
| utils.test.ts | ||
| utils.ts | ||
| vitest.setup.ts | ||