File tree Expand file tree Collapse file tree
components/embeddedBrowser
pages/dev/test-components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ function retryAndroidRedirect() {
200200 margin : 0 ;
201201 font-size : 1.5rem ;
202202 font-weight : var (--font-weight-bold );
203- color : $color-text-strong ;
203+ color : $primary ;
204204 text-align : center ;
205205 line-height : 1.3 ;
206206}
Original file line number Diff line number Diff line change 1313
1414 <div class =" button-container" >
1515 <PrimeButton
16- : label =" t ( ' openWarningButton ' ) "
17- icon="pi pi-exclamation-triangle "
16+ label="Test: X Browser "
17+ icon="pi pi-twitter "
1818 class="test-button"
19- @click =" openWarning "
19+ @click =" openWarning (' X' , ' twitter' )"
20+ />
21+ <PrimeButton
22+ label="Test: Telegram"
23+ icon="pi pi-telegram"
24+ class="test-button"
25+ @click =" openWarning (' Telegram' , ' telegram' )"
26+ />
27+ <PrimeButton
28+ label="Test: Instagram"
29+ icon="pi pi-instagram"
30+ class="test-button"
31+ @click =" openWarning (' Instagram' , ' instagram' )"
32+ />
33+ <PrimeButton
34+ label="Test: Facebook"
35+ icon="pi pi-facebook"
36+ class="test-button"
37+ @click =" openWarning (' Facebook' , ' facebook' )"
38+ />
39+ <PrimeButton
40+ label="Test: Generic (no app name)"
41+ icon="pi pi-question-circle"
42+ class="test-button"
43+ severity="secondary"
44+ @click =" openWarning (undefined , undefined )"
2045 />
2146 </div >
2247 </template >
@@ -37,8 +62,8 @@ const { t } = useComponentI18n<EmbeddedBrowserWarningTestTranslations>(
3762
3863const warningStore = useEmbeddedBrowserWarningStore ();
3964
40- const openWarning = () => {
41- warningStore .openWarning (" Telegram " , " telegram " );
65+ const openWarning = (appName : string | undefined , appKey : string | undefined ) => {
66+ warningStore .openWarning (appName , appKey );
4267};
4368 </script >
4469
@@ -68,6 +93,8 @@ const openWarning = () => {
6893
6994.button-container {
7095 display : flex ;
96+ flex-wrap : wrap ;
97+ gap : 0.75rem ;
7198 justify-content : center ;
7299}
73100 </style >
You can’t perform that action at this time.
0 commit comments