feat: make coolify full width by default

This commit is contained in:
Andras Bacsai
2024-09-13 10:51:51 +02:00
parent dd8a2dd3c1
commit aa4980289d
2 changed files with 9 additions and 3 deletions

View File

@@ -9,6 +9,10 @@
open: false,
init() {
this.pageWidth = localStorage.getItem('pageWidth');
if (!this.pageWidth) {
this.pageWidth = 'full';
localStorage.setItem('pageWidth', 'full');
}
}
}" x-cloak class="mx-auto" :class="pageWidth === 'full' ? '' : 'max-w-7xl'">
<div class="relative z-50 lg:hidden" :class="open ? 'block' : 'hidden'" role="dialog" aria-modal="true">