diff --git a/packages/connect-button/src/components/card/request-card.ts b/packages/connect-button/src/components/card/request-card.ts index fbab9f8c..c962ce67 100644 --- a/packages/connect-button/src/components/card/request-card.ts +++ b/packages/connect-button/src/components/card/request-card.ts @@ -259,7 +259,6 @@ export class RadixRequestCard extends LitElement { :host { display: flex; width: 100%; - margin-bottom: 10px; } .text-dimmed { diff --git a/packages/connect-button/src/components/card/request-cards.ts b/packages/connect-button/src/components/card/request-cards.ts index 882fe79e..6dcd6e96 100644 --- a/packages/connect-button/src/components/card/request-cards.ts +++ b/packages/connect-button/src/components/card/request-cards.ts @@ -1,4 +1,4 @@ -import { html, LitElement } from 'lit' +import { css, html, LitElement } from 'lit' import { customElement, property } from 'lit/decorators.js' import { themeCSS } from '../../theme' import '../card/request-card' @@ -16,13 +16,23 @@ export class RadixRequestCards extends LitElement { type="${requestItem.type}" status="${requestItem.status}" id="${requestItem.interactionId}" + hash="${requestItem.transactionIntentHash || ''}" ?showCancel="${requestItem.showCancel}" timestamp=${requestItem.createdAt} >`, ) } - static styles = [themeCSS] + static styles = [ + themeCSS, + css` + :host { + display: flex; + flex-direction: column; + gap: 10px; + } + `, + ] } declare global { diff --git a/packages/connect-button/src/components/pages/requests.ts b/packages/connect-button/src/components/pages/requests.ts index 98f09ba8..667b7178 100644 --- a/packages/connect-button/src/components/pages/requests.ts +++ b/packages/connect-button/src/components/pages/requests.ts @@ -1,6 +1,6 @@ import { css, html, LitElement } from 'lit' import { customElement, property } from 'lit/decorators.js' -import '../card/request-card' +import '../card/request-cards' import { RequestItem } from 'radix-connect-common' import { pageStyles } from './styles' import { formatTimestamp } from '../../helpers/format-timestamp' @@ -22,7 +22,7 @@ export class RadixRequestsPage extends LitElement { render() { return html` -