diff --git a/crates/openfang-api/static/css/layout.css b/crates/openfang-api/static/css/layout.css index 6759aa07..05a8a23c 100644 --- a/crates/openfang-api/static/css/layout.css +++ b/crates/openfang-api/static/css/layout.css @@ -1,5 +1,10 @@ /* OpenFang Layout — Grid + Sidebar + Responsive */ +/* Firefox compat: hide x-cloak elements until Alpine.js initializes. + Without this, the sidebar flashes hidden in Firefox while Alpine + processes the nested x-data scopes for nav sections. */ +[x-cloak] { display: none !important; } + .app-layout { display: flex; height: 100vh; diff --git a/crates/openfang-api/static/index_body.html b/crates/openfang-api/static/index_body.html index f70d737a..0b86ef82 100644 --- a/crates/openfang-api/static/index_body.html +++ b/crates/openfang-api/static/index_body.html @@ -27,8 +27,8 @@