-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
sidebar_label: Troubleshooting | ||
--- | ||
|
||
### If the CSS isn't loading on the Grant Support Access page | ||
|
||
If you have [modified the CSS namespacing](/Client/css-namespacing.md), that is the likley culprit. | ||
|
||
Otherwise, this is likely an issue with the `build-sass` script not being passed the same `namespace` flag as the Client is using. | ||
|
||
Make sure the `--namespace=` setting in the Composer file: | ||
|
||
```json | ||
"trustedlogin": [ | ||
"@php vendor/bin/build-sass --namespace=example-namespace" | ||
], | ||
``` | ||
|
||
Matches the `vendor/namespace` setting in the Config settings array: | ||
|
||
```php | ||
$config = [ | ||
// ... | ||
'vendor' => [ | ||
'namespace' => 'example-namespace', | ||
// ... | ||
]; | ||
``` | ||
|
||
If those are not the same, the CSS rules will not match the HTML generated and won't be applied. |