Skip to content

Commit

Permalink
Merge pull request #255 from radixdlt/RDT-224
Browse files Browse the repository at this point in the history
fix: respect isMobile CSS for popover
  • Loading branch information
dawidsowardx authored Sep 19, 2024
2 parents 478ad83 + 77f1e87 commit b7e44eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/connect-button/src/components/connect-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ export class ConnectButton extends LitElement {
if (this.pristine) return ''

return html` <radix-popover
?isMobile=${this.isMobile}
?connected=${this.connected}
?compact=${this.compact}
?showCloseButton=${this.showPopoverCloseButton}
Expand Down
6 changes: 6 additions & 0 deletions packages/connect-button/src/components/popover/popover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ export class RadixPopover extends LitElement {
})
compact = false

@property({
type: Boolean,
reflect: true,
})
isMobile = false

@property({
type: Boolean,
reflect: true,
Expand Down

0 comments on commit b7e44eb

Please sign in to comment.