Skip to content

Commit

Permalink
Add Troubleshooting doc
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkatz committed Dec 26, 2023
1 parent 734845b commit 27562f7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docs/Client/troubleshooting.md
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.

0 comments on commit 27562f7

Please sign in to comment.