mirror of
https://github.com/go-gitea/gitea.git
synced 2026-12-03 21:32:25 -06:00
- Long text without natural break points, such as email addresses, URLs and names containing underscores, no longer overflows the profile card, the package title and sidebar, the repository sidebar, the organization header and the stargazer, watcher and follower cards. - These containers use `overflow-wrap: anywhere`, because the global `overflow-wrap: break-word` does not let flex items shrink below their longest word. - The profile card icon rows share one layout again, so location, email and website align the same way. - An empty topics row no longer adds extra space around "Manage Topics" in the repository sidebar. - Cancelling or saving the topic editor keeps an empty topics row hidden, instead of showing it again until the next page load. - The package view uses its own header class instead of borrowing the issue title one. <img width="688" alt="Before and after" src="https://github.com/user-attachments/assets/d1417853-d6ce-4797-b26d-1a2ead67608c"> Assisted-by: Claude Code:claude-opus-5-5 --------- Co-authored-by: silverwind <me@silverwind.io>
50 lines
773 B
CSS
50 lines
773 B
CSS
.package-header {
|
|
margin-bottom: 18px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.packages-content {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
}
|
|
|
|
.packages-content-left {
|
|
margin: 0 !important;
|
|
width: calc(100% - 250px - 16px);
|
|
}
|
|
|
|
.packages-content-left .markup {
|
|
margin: var(--gap-block) 0;
|
|
}
|
|
|
|
.packages-content-left .markup pre.code-block {
|
|
margin: 0;
|
|
}
|
|
|
|
.package-manual-vars {
|
|
display: flex;
|
|
gap: 1em;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.package-manual-vars select {
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
.packages-content-right {
|
|
margin: 0 !important;
|
|
width: 250px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.packages-content {
|
|
flex-direction: column;
|
|
}
|
|
.packages-content-left,
|
|
.packages-content-right {
|
|
width: 100%;
|
|
}
|
|
}
|