summaryrefslogtreecommitdiffstats
path: root/web_src/less/_repository.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-12-06 14:15:46 +0100
committerGitHub <noreply@github.com>2022-12-06 21:15:46 +0800
commite2fa84fddc80368c0315616870b8c75592397422 (patch)
treeec77ca055ce2083d5c40b52027741874d349d870 /web_src/less/_repository.less
parent74874d065f39bb381ce6f703388eb4a7dd936509 (diff)
downloadgitea-e2fa84fddc80368c0315616870b8c75592397422.tar.gz
gitea-e2fa84fddc80368c0315616870b8c75592397422.zip
Release and Tag List tweaks (#21712)
- Reduce font size on tag list and add muted links - Move Release tag to right side on release list - Move Release edit button to far-right and make it icon-only - Add styles for error dropdowns, seen on release edit page - Make the release page slightly more mobile-friendly <img width="468" alt="Screen Shot 2022-11-07 at 22 10 44" src="https://user-images.githubusercontent.com/115237/200417500-149f40f5-2376-42b4-92a7-d7eba3ac359d.png"> <img width="1015" alt="Screen Shot 2022-11-07 at 22 27 14" src="https://user-images.githubusercontent.com/115237/200419201-b28f39d6-fe9e-4049-8023-b301c9bae528.png"> <img width="1019" alt="Screen Shot 2022-11-07 at 22 27 27" src="https://user-images.githubusercontent.com/115237/200419206-3f07d988-42f6-421d-8ba9-303a0d59e711.png"> <img width="709" alt="Screen Shot 2022-11-07 at 22 42 10" src="https://user-images.githubusercontent.com/115237/200421671-f0393cde-2d8f-4e1f-a788-f1f51fc4807c.png"> <img width="713" alt="Screen Shot 2022-11-07 at 22 42 27" src="https://user-images.githubusercontent.com/115237/200421676-5797f8cf-dfe8-4dd6-85d4-dc69e31a9912.png"> <img width="406" alt="image" src="https://user-images.githubusercontent.com/115237/200418220-8c3f7549-61b4-4661-935e-39e1352f7851.png"> <img width="416" alt="Screen Shot 2022-11-07 at 22 21 36" src="https://user-images.githubusercontent.com/115237/200418107-cdb0eb6f-1292-469c-b89a-2cb13f24173c.png"> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'web_src/less/_repository.less')
-rw-r--r--web_src/less/_repository.less13
1 files changed, 5 insertions, 8 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 3eb0178d37..0f318fa53c 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -1855,11 +1855,13 @@
border-top: 1px solid var(--color-secondary);
margin-top: 20px;
padding-top: 15px;
+ padding-left: 0;
.release-list-title {
font-size: 2rem;
font-weight: normal;
- margin-top: -6px;
+ margin-top: -4px;
+ margin-bottom: 0;
}
> li {
@@ -1879,11 +1881,6 @@
margin-right: 0;
}
- .tag:not(.icon) {
- display: block;
- margin-top: 15px;
- }
-
.commit {
display: block;
margin-top: 10px;
@@ -1903,7 +1900,7 @@
.author {
img {
- margin-bottom: -3px;
+ margin-bottom: 3px;
}
}
@@ -1966,7 +1963,7 @@
}
.release-tag-name {
- font-size: 20px;
+ font-size: 18px;
font-weight: normal;
}
}