mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-05 09:49:37 +08:00
834fc74873
- 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
6 lines
192 B
CSS
6 lines
192 B
CSS
/* can not have this selector in less because of https://github.com/less/less.js/issues/3027 */
|
|
.view-raw img[src$='.svg' i] {
|
|
max-height: 600px !important;
|
|
max-width: 600px !important;
|
|
}
|