Skip to content

Commit

Permalink
feat: delete unnecessary variables and fix bug for click icon close
Browse files Browse the repository at this point in the history
  • Loading branch information
Rares Herta committed Mar 21, 2023
1 parent ec2b11c commit 11e7f70
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/bee-q/src/components/dialog/bq-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ export class BqDialog {
<slot name="content" />
</div>
</div>
<bq-button appearance="text" size="small" part="button-close" onClick={this.handleCloseClick}>
<bq-icon name="x" role="img" title="Close" part="icon-close" />
<bq-button appearance="text" size="small" part="button-close">
<bq-icon name="x" role="img" title="Close" part="icon-close" onClick={this.handleCloseClick} />
</bq-button>
</header>
<footer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
--bq-dialog--medium-width: 480px;
--bq-dialog--large-width: 640px;

--bq-dialog--header-small-width: 272px;
--bq-dialog--header-medium-width: 432px;
--bq-dialog--header-large-width: 592px;
// --bq-dialog--header-small-width: 272px;
// --bq-dialog--header-medium-width: 432px;
// --bq-dialog--header-large-width: 592px;

--bq-dialog--title-small-width: 182px;
--bq-dialog--title-medium-width: 342px;
--bq-dialog--title-large-width: 502px;
// --bq-dialog--title-small-width: 182px;
// --bq-dialog--title-medium-width: 342px;
// --bq-dialog--title-large-width: 502px;
}

0 comments on commit 11e7f70

Please sign in to comment.