aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-09-15 22:57:42 +0200
committerGitHub <noreply@github.com>2022-09-15 23:57:42 +0300
commitd3050e0d01b63fb99bb7656e1b86dc542c7e4873 (patch)
tree46334d1d4bf2ba2831e8b3941c211404ea913282 /web_src
parentbf325d44120c4a6fc7f67ff1dc25db770247c9a7 (diff)
downloadgitea-d3050e0d01b63fb99bb7656e1b86dc542c7e4873.tar.gz
gitea-d3050e0d01b63fb99bb7656e1b86dc542c7e4873.zip
File header tweaks (#21175)
- Remove non-matching selector - Set font-size on parent so `.mono` can correctly reduce it Before (font subjectively too big): <img width="1270" alt="Screenshot 2022-09-15 at 19 03 56" src="https://user-images.githubusercontent.com/115237/190466867-283e9c23-cbfa-457e-8dbe-94902e886cc7.png"> After: <img width="1266" alt="image" src="https://user-images.githubusercontent.com/115237/190467290-eb392007-5db2-4ab0-a5be-e7cfe4618dcc.png">
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_repository.less7
1 files changed, 2 insertions, 5 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index f5be0b34e6..57d54a08f6 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -409,10 +409,6 @@
font-size: .5em;
}
- .file-info {
- font-size: 13px;
- }
-
.file-actions {
.btn-octicon {
line-height: 1;
@@ -3051,7 +3047,8 @@ td.blob-excerpt {
display: flex;
justify-content: space-between;
overflow-x: auto;
- padding: 8px 12px !important;
+ padding: 6px 12px !important;
+ font-size: 13px !important;
}
.file-info {