-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(alert): inline scripts, heading tags fixing
- Loading branch information
1 parent
d97a4f7
commit 472fa59
Showing
8 changed files
with
43 additions
and
55 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
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 |
---|---|---|
@@ -1,22 +1,21 @@ | ||
<link rel="stylesheet" href="demo.css"> | ||
<script type="module" src="pf-alert.js"></script> | ||
<link rel="stylesheet" href="demo.css"><script type="module" src="pf-alert.js"></script> | ||
|
||
<h1> | ||
<h2> | ||
Inline | ||
</h1> | ||
</h2> | ||
|
||
<pf-alert header="Default inline" inline></pf-alert> | ||
<pf-alert variant="info" header="Info inline" inline></pf-alert> | ||
<pf-alert variant="success" header="Success inline" inline></pf-alert> | ||
<pf-alert variant="warning" header="Warning inline" inline></pf-alert> | ||
<pf-alert variant="danger" header="Danger inline" inline></pf-alert> | ||
|
||
<h1> | ||
<h2> | ||
Inline Plain | ||
</h1> | ||
</h2> | ||
|
||
<pf-alert header="Default inline" inline plain></pf-alert> | ||
<pf-alert variant="info" header="Info inline" inline plain></pf-alert> | ||
<pf-alert variant="success" header="Success inline" inline plain></pf-alert> | ||
<pf-alert variant="warning" header="Warning inline" inline plain></pf-alert> | ||
<pf-alert variant="danger" header="Danger inline" inline plain></pf-alert> | ||
<pf-alert variant="danger" header="Danger inline" inline plain></pf-alert> |
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
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 |
---|---|---|
@@ -1,8 +1,3 @@ | ||
<link rel="stylesheet" href="demo.css"> | ||
<script type="module" src="pf-alert.js"></script> | ||
<link rel="stylesheet" href="demo.css"><script type="module" src="pf-alert.js"></script> | ||
|
||
<pf-alert header="Default alert title"></pf-alert> | ||
<pf-alert variant="info" header="Info alert title"></pf-alert> | ||
<pf-alert variant="success" header="Success alert title"></pf-alert> | ||
<pf-alert variant="warning" header="Warning alert title"></pf-alert> | ||
<pf-alert variant="danger" header="Danger alert title"></pf-alert> |
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
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
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
<link rel="stylesheet" href="demo.css"> | ||
<script type="module" src="pf-alert.js"></script> | ||
<link rel="stylesheet" href="demo.css"><script type="module" src="pf-alert.js"></script> | ||
|
||
<h1> | ||
<h2> | ||
Truncated Title | ||
</h1> | ||
</h2> | ||
|
||
<pf-alert style="width:100px;" truncate-title header="It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of light, it was the season of darkness, it was the spring of hope, it was the winter of despair."></pf-alert> | ||
<pf-alert style="width:100px;" truncate-title header="It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of light, it was the season of darkness, it was the spring of hope, it was the winter of despair."></pf-alert> |
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