Skip to content

Commit

Permalink
update readme and fix gitignore and gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodes committed Mar 31, 2023
1 parent b75cd59 commit dc580a6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/.github export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/phpunit.xml.dist export-ignore
/.idea export-ignore
/images export-ignore
/.package-lock.json export-ignore
/package.json export-ignore
/postcss.config.js export-ignore
/tailwind.config.js export-ignore
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/node_modules
/vendor
/vendor
.idea
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ To use the new 'Floating Theme' just pass the 'floating' key to the `setTheme()`
```php
use FilamentStickyHeader\Facades\StickyHeader;

public function boot(): void
public function register(): void
{
Filament::serving(function () {
StickyHeader::setTheme('floating');
}
StickyHeader::setTheme('floating');
}
```

Expand All @@ -38,11 +36,9 @@ If you are using a custom Filament Theme you will need to disable the loading of
```php
use FilamentStickyHeader\Facades\StickyHeader;

public function boot(): void
public function register(): void
{
Filament::serving(function () {
StickyHeader::disableCss();
}
StickyHeader::disableCss();
}
```

Expand Down

0 comments on commit dc580a6

Please sign in to comment.