-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Show how to use local CSS file as stylesheet. (#1723)
- Loading branch information
1 parent
8df9422
commit 45325e2
Showing
2 changed files
with
30 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
|
||
page['meta'] = ui.meta_card( | ||
box='', | ||
# Load external stylesheet. | ||
# Load external stylesheet. The `path` can also be the one returned from `q.site.upload` if you want to use your own CSS files. | ||
stylesheets=[ui.stylesheet(path='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css')] | ||
) | ||
|
||
|
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