Skip to content

fix: scope mat-card 420px cap to .card-list grid tiles#269

Open
sallymoc wants to merge 1 commit into
devfrom
fix/send-assets-form-width
Open

fix: scope mat-card 420px cap to .card-list grid tiles#269
sallymoc wants to merge 1 commit into
devfrom
fix/send-assets-form-width

Conversation

@sallymoc

Copy link
Copy Markdown
Contributor

The previous unscoped mat-card { max-width: 420px } rule in assets.component.scss matched every mat-card in the component template, including the Send Assets form — capping it at 420px regardless of screen width. Scope it to .card-list mat-card so only the asset tiles are constrained, and add explicit width caps on .asset-card to preserve the no-assets card's prior size.

The previous unscoped `mat-card { max-width: 420px }` rule in
assets.component.scss matched every mat-card in the component template,
including the Send Assets form — capping it at 420px regardless of
screen width. Scope it to `.card-list mat-card` so only the asset
tiles are constrained, and add explicit width caps on `.asset-card`
to preserve the no-assets card's prior size.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant