Skip to content

Commit

Permalink
Update custom.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Thutmose3 authored Jul 30, 2024
1 parent a78b908 commit f0353dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ The documentation on CSSContainer is a bit under-developed, more documentation c
1. Configuring custom tailwind classes in settings with CRISPY_TAILWIND_STYLE
-----------------------------------------------------------------------------

Example:``CRISPY_TAILWIND_STYLE = {
Example:

Check warning on line 25 in docs/custom.txt

View workflow job for this annotation

GitHub Actions / docs

Inline literal start-string without end-string.

Check warning on line 25 in docs/custom.txt

View workflow job for this annotation

GitHub Actions / docs

Inline interpreted text or phrase reference start-string without end-string.
```CRISPY_TAILWIND_STYLE = {
"text": "bg-gray-50 border border-gray-300",
"select": "bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
}``
}```

Check warning on line 29 in docs/custom.txt

View workflow job for this annotation

GitHub Actions / docs

Block quote ends without a blank line; unexpected unindent.

This is currently only working for the input fields and the select field. More coming soon.

These are the fields you can override:
Expand Down

0 comments on commit f0353dc

Please sign in to comment.