summaryrefslogtreecommitdiffstats
path: root/web_src/less/_repository.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-07-20 17:48:06 +0200
committerGitHub <noreply@github.com>2022-07-20 23:48:06 +0800
commitc7fa5cc0175935579091daaa70a24a6442c4ee01 (patch)
tree9984071f76e2aeb6fa256a2b3855f9a3630a324c /web_src/less/_repository.less
parentb8733e8f8913aec912e145213aea3bf551361af6 (diff)
downloadgitea-c7fa5cc0175935579091daaa70a24a6442c4ee01.tar.gz
gitea-c7fa5cc0175935579091daaa70a24a6442c4ee01.zip
Update JS dependencies (#20423)
- Update all JS dependencies minus vue ones - Remove workaround for case-insensitive attribute selector - Add new linter rules and fix issues - Tested SVG display and swagger
Diffstat (limited to 'web_src/less/_repository.less')
-rw-r--r--web_src/less/_repository.less5
1 files changed, 4 insertions, 1 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 0ad937f028..d5942bdfcb 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -494,7 +494,10 @@
object-fit: contain;
}
- /* also see misc.css for one more related rule */
+ img[src$='.svg' i] {
+ max-height: 600px !important;
+ max-width: 600px !important;
+ }
}
.plain-text {