]> source.dussan.org Git - gitea.git/commit
Raw file view tweaks (#15520)
authorsilverwind <me@silverwind.io>
Thu, 22 Apr 2021 21:43:44 +0000 (23:43 +0200)
committerGitHub <noreply@github.com>
Thu, 22 Apr 2021 21:43:44 +0000 (23:43 +0200)
commit834fc74873e8047552e9181e130bd53d8e890eb0
tree2bd50b3d68b81c90ac795f0df9a94afb717c77f8
parent8ea1d32bea88b6968774b14e5bbe90f2280fe997
Raw file view tweaks (#15520)

- Limit SVG images to 600px width
- Adjust size of view toggle buttons to match other buttons
- Make Edit/Delete buttons easier to click

Had to create a separate CSS file because the less parser can not parse
CSS4 case-insensitive attribute selectors which are widely supported by
browsers.

Fixes: https://github.com/go-gitea/gitea/issues/15515
templates/repo/view_file.tmpl
web_src/less/_base.less
web_src/less/_repository.less
web_src/less/misc.css [new file with mode: 0644]
webpack.config.js