mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-01 02:46:16 -06:00
Feat: Add global instance CSS customization setting
Allow instance admins to add custom CSS that will affect every page of their instance. This is done with a new CustomCSS instance setting that works pretty much exactly like the Users CustomCSS property. This custom CSS is then requested for every page load. User styles/themes take precedence over this CSS.
This commit is contained in:
parent
713e73300c
commit
c8fb4c17f1
25 changed files with 158 additions and 27 deletions
|
|
@ -175,6 +175,7 @@ func validateInstanceUpdate(form *apimodel.InstanceSettingsUpdateRequest) error
|
|||
form.ContactEmail == nil &&
|
||||
form.ShortDescription == nil &&
|
||||
form.Description == nil &&
|
||||
form.CustomCSS == nil &&
|
||||
form.Terms == nil &&
|
||||
form.Avatar == nil &&
|
||||
form.AvatarDescription == nil &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue