Skip to content

Commit 6516ee4

Browse files
committed
test(breadcrumbs): remove ion-button from test, use native button
1 parent a023423 commit 6516ee4

File tree

1 file changed

+42
-1
lines changed
  • core/src/components/breadcrumbs/test/basic

1 file changed

+42
-1
lines changed

core/src/components/breadcrumbs/test/basic/index.html

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ <h1>Collapsed: Tab Focus</h1>
200200

201201
<h1>
202202
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>
204204
</h1>
205205

206206
<ion-breadcrumbs id="expandOnClick" max-items="4">
@@ -392,6 +392,47 @@ <h1>Breadcrumbs: default wrapping</h1>
392392
ion-content ion-breadcrumbs {
393393
padding: 3px 5px;
394394
}
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+
}
395436
</style>
396437
</body>
397438
</html>

0 commit comments

Comments
 (0)