File tree Expand file tree Collapse file tree 1 file changed +42
-1
lines changed
core/src/components/breadcrumbs/test/basic Expand file tree Collapse file tree 1 file changed +42
-1
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ <h1>Collapsed: Tab Focus</h1>
200
200
201
201
< h1 >
202
202
Breadcrumbs: collapsed middle / expand on click
203
- < ion- button size =" small " fill =" clear " onClick ="collapseBreadcrumbs() "> Re-collapse</ ion- button>
203
+ < button onClick ="collapseBreadcrumbs() "> Re-collapse</ button >
204
204
</ h1 >
205
205
206
206
< ion-breadcrumbs id ="expandOnClick " max-items ="4 ">
@@ -392,6 +392,47 @@ <h1>Breadcrumbs: default wrapping</h1>
392
392
ion-content ion-breadcrumbs {
393
393
padding : 3px 5px ;
394
394
}
395
+
396
+ button {
397
+ background : none;
398
+ color : var (--ion-color-primary , # 3880ff );
399
+
400
+ width : auto;
401
+
402
+ -webkit-margin-start : 2px ;
403
+ margin-inline-start : 2px ;
404
+ -webkit-margin-end : 2px ;
405
+ margin-inline-end : 2px ;
406
+ margin-top : 4px ;
407
+ margin-bottom : 4px ;
408
+
409
+ -webkit-padding-start : 0.9em ;
410
+ padding-inline-start : 0.9em ;
411
+ -webkit-padding-end : 0.9em ;
412
+ padding-inline-end : 0.9em ;
413
+ padding-top : 6px ;
414
+ padding-bottom : 7px ;
415
+
416
+ white-space : nowrap;
417
+
418
+ box-sizing : border-box;
419
+ }
420
+
421
+ .ios button {
422
+ min-height : 2.1em ;
423
+ font-size : 13px ;
424
+
425
+ letter-spacing : 0 ;
426
+ }
427
+
428
+ .md button {
429
+ min-height : 2.1em ;
430
+ font-size : 13px ;
431
+
432
+ font-weight : 500 ;
433
+ letter-spacing : 0.06em ;
434
+ text-transform : uppercase;
435
+ }
395
436
</ style >
396
437
</ body >
397
438
</ html >
You can’t perform that action at this time.
0 commit comments