Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(ui): update padding for trademarks policy and enhance spacing in advanced settings section

Andras Bacsai3cd2405b5d9e
diff --git a/resources/views/livewire/project/new/select.blade.php b/resources/views/livewire/project/new/select.blade.php
index d513afac63..ac896e640f 100644
--- a/resources/views/livewire/project/new/select.blade.php
+++ b/resources/views/livewire/project/new/select.blade.php
@@ -78,7 +78,7 @@
<h2>Services</h2>
<x-forms.button x-on:click="loadResources">Reload List</x-forms.button>
</div>
- <div class="pb-4 text-xs">Trademarks Policy: The respective trademarks mentioned here are owned by
+ <div class="py-4 text-xs">Trademarks Policy: The respective trademarks mentioned here are owned by
the
respective
companies, and use of them does not imply any affiliation or endorsement.<br>Find more services
diff --git a/resources/views/livewire/project/service/service-application-view.blade.php b/resources/views/livewire/project/service/service-application-view.blade.php
index 87f31ed1f5..af47c40d5d 100644
--- a/resources/views/livewire/project/service/service-application-view.blade.php
+++ b/resources/views/livewire/project/service/service-application-view.blade.php
@@ -39,10 +39,15 @@
label="Image" id="application.image"></x-forms.input>
</div>
</div>
- <h3 class="pt-2">Advanced</h3>
- <div class="w-96">
- <x-forms.checkbox instantSave id="application.is_gzip_enabled" label="Enable gzip compression"
- helper="You can disable gzip compression if you want. Some services are compressing data by default. In this case, you do not need this." />
+ <h3 class="py-2 pt-4">Advanced</h3>
+ <div class="w-96 flex flex-col gap-1">
+ @if (str($application->image)->contains('pocketbase'))
+ <x-forms.checkbox instantSave id="application.is_gzip_enabled" label="Enable Gzip Compression"
+ helper="Pocketbase does not need gzip compression, otherwise SSE will not work." disabled />
+ @else
+ <x-forms.checkbox instantSave id="application.is_gzip_enabled" label="Enable Gzip Compression"
+ helper="You can disable gzip compression if you want. Some services are compressing data by default. In this case, you do not need this." />
+ @endif
<x-forms.checkbox instantSave id="application.is_stripprefix_enabled" label="Strip Prefixes"
helper="Strip Prefix is used to remove prefixes from paths. Like /api/ to /api." />
<x-forms.checkbox instantSave label="Exclude from service status"