diff options
author | silverwind <me@silverwind.io> | 2021-04-22 23:43:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 23:43:44 +0200 |
commit | 834fc74873e8047552e9181e130bd53d8e890eb0 (patch) | |
tree | 2bd50b3d68b81c90ac795f0df9a94afb717c77f8 /webpack.config.js | |
parent | 8ea1d32bea88b6968774b14e5bbe90f2280fe997 (diff) | |
download | gitea-834fc74873e8047552e9181e130bd53d8e890eb0.tar.gz gitea-834fc74873e8047552e9181e130bd53d8e890eb0.zip |
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
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js index 1b668e75cc..cb5b6c1b6a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -48,6 +48,7 @@ export default { resolve(__dirname, 'web_src/fomantic/build/semantic.js'), resolve(__dirname, 'web_src/js/index.js'), resolve(__dirname, 'web_src/fomantic/build/semantic.css'), + resolve(__dirname, 'web_src/less/misc.css'), resolve(__dirname, 'web_src/less/index.less'), ], swagger: [ |