Skip to content

Commit

Permalink
fix: tab button label (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebus-84 authored Oct 12, 2024
1 parent b75f643 commit d1c1398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/tab-button/d-tab-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class DTabButton {
tab={this.tab}
href={`/${this.tab}`}
class={{
'h-12 w-12 block': true,
'min-h-12 min-w-12 block': true,
'text-on-alt': !this.active,
'text-on': this.active,
}}
Expand Down
2 changes: 1 addition & 1 deletion src/components/tab-button/test/d-tab-button.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('d-tab-button', () => {
expect(page.root).toEqualHtml(`
<d-tab-button tab="home">
<mock:shadow-root>
<ion-tab-button class="block h-12 text-on-alt w-12" href="/home" tab="home">
<ion-tab-button class="block min-h-12 text-on-alt min-w-12" href="/home" tab="home">
<div class="relative w-fit">
<d-icon icon="home" outline="" size="28"></d-icon>
</div>
Expand Down

0 comments on commit d1c1398

Please sign in to comment.