1- < div class ="demo-description ">
2- < section class =" alerts-page demo-with-arrows " >
3- < pf-alert class ="white-alerts-page " state ="success " dismissable data-on-close ="prevent-default ">
4- < h3 slot ="header "> Success alert title</ h3 >
5- < pf-button slot ="actions " variant ="link " data-action ="dismiss "> View details</ pf-button >
6- < pf-button slot ="actions " variant ="link " data-action ="confirm "> lgnore</ pf-button >
7- </ pf-alert >
1+ < div class ="demo-description demo-with-arrows ">
2+
3+ < pf-alert class ="white-alerts-page " state ="success " dismissable data-on-close ="prevent-default ">
4+ < h3 slot ="header "> Success alert title</ h3 >
5+ < pf-button slot ="actions " variant ="link " data-action ="dismiss "> View details</ pf-button >
6+ < pf-button slot ="actions " variant ="link " data-action ="confirm "> lgnore</ pf-button >
7+ </ pf-alert >
88
9- < pf-alert class ="white-alerts-page " state ="success " dismissable data-on-close ="prevent-default ">
10- < h3 slot ="header "> Success alert title (expanded)</ h3 >
11- < p > Success alert description. This should tell the user more information about the alert.</ p >
12- < pf-button slot ="actions " variant ="link " data-action ="dismiss "> View details</ pf-button >
13- < pf-button slot ="actions " variant ="link " data-action ="confirm "> lgnore</ pf-button >
14- </ pf-alert >
9+ < pf-alert class ="white-alerts-page " state ="success " dismissable data-on-close ="prevent-default ">
10+ < h3 slot ="header "> Success alert title (expanded)</ h3 >
11+ < p > Success alert description. This should tell the user more information about the alert.</ p >
12+ < pf-button slot ="actions " variant ="link " data-action ="dismiss "> View details</ pf-button >
13+ < pf-button slot ="actions " variant ="link " data-action ="confirm "> lgnore</ pf-button >
14+ </ pf-alert >
1515
16- < pf-alert state ="success " dismissable data-on-close ="prevent-default ">
17- < h3 slot ="header "> Success alert title</ h3 >
18- < pf-button slot ="actions " variant ="link " data-action ="dismiss "> View details</ pf-button >
19- < pf-button slot ="actions " variant ="link " data-action ="confirm "> lgnore</ pf-button >
20- </ pf-alert >
16+ < pf-alert state ="success " dismissable data-on-close ="prevent-default ">
17+ < h3 slot ="header "> Success alert title</ h3 >
18+ < pf-button slot ="actions " variant ="link " data-action ="dismiss "> View details</ pf-button >
19+ < pf-button slot ="actions " variant ="link " data-action ="confirm "> lgnore</ pf-button >
20+ </ pf-alert >
2121
22- < pf-alert state ="success " dismissable data-on-close ="prevent-default ">
23- < h3 slot ="header "> Success alert title (expanded)</ h3 >
24- < p > Success alert description. This should tell the user more information about the alert.</ p >
25- < pf-button slot ="actions " variant ="link " data-action ="dismiss "> View details</ pf-button >
26- < pf-button slot ="actions " variant ="link " data-action ="confirm "> lgnore</ pf-button >
27- </ pf-alert >
28- </ section >
22+ < pf-alert state ="success " dismissable data-on-close ="prevent-default ">
23+ < h3 slot ="header "> Success alert title (expanded)</ h3 >
24+ < p > Success alert description. This should tell the user more information about the alert.</ p >
25+ < pf-button slot ="actions " variant ="link " data-action ="dismiss "> View details</ pf-button >
26+ < pf-button slot ="actions " variant ="link " data-action ="confirm "> lgnore</ pf-button >
27+ </ pf-alert >
2928</ div >
29+
3030< style >
3131 pf-alert .white-alerts-page ::part (container ) {
3232 background-color : # fff ;
33- }
34-
35- .alerts-page pf-alert ::part (container ) {
36- padding-top : 1rem ;
37- padding-right : 1rem ;
38- padding-bottom : 1rem ;
39- padding-left : 1rem ;
33+ padding : 0.5cm ;
4034 box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.25 );
35+
4136 }
42- .demo-description {
43- padding : 1cm ;
37+
38+ .demo-description {
39+ padding : 1cm ;
4440 }
4541</ style >
4642
4743< script type ="module ">
4844 import '@patternfly/elements/pf-alert/pf-alert.js' ;
4945 import '@patternfly/elements/pf-button/pf-button.js' ;
50- </ script >
51-
46+ </ script >
0 commit comments