mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-02-24 23:26:59 +01:00
- When specifying an icon URL for a authentication source, it's forced
to be an width and height of 20px. However this didn't take into account
that icons could have an different aspect ratio of 1:1.
- This patch fixes that by instead using `max-width` and `max-height`
which will respect other aspect ratios.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1234
(cherry picked from commit
|
||
---|---|---|
.. | ||
assert_interface_test.go | ||
http.go | ||
init.go | ||
jwtsigningkey.go | ||
providers.go | ||
providers_base.go | ||
providers_custom.go | ||
providers_openid.go | ||
providers_simple.go | ||
source.go | ||
source_authenticate.go | ||
source_callout.go | ||
source_name.go | ||
source_register.go | ||
store.go | ||
token.go | ||
urlmapping.go |