Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: mad-quick-list - should be using grid list to remain form stable #112

Open
chrisaige opened this issue Sep 12, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@chrisaige
Copy link
Contributor

chrisaige commented Sep 12, 2022

Feature request

right now the mad quick list can not be used in for example cards or modals because the format breaks
Here is an example of a mad-quick-list-compact in a mat-card
grafik

Description

The library should ensure that the actions are added at the end of the row.
This could be achieved for example by using:

<mat-grid-list cols="10" fxFill>
	<mat-grid-tile colspan="8"> 
		.... content .... 
	</mat-grid-tile>
	<mat-grid-tile [colspan]="addButton ? 1 : 2">
		.... delete button ....
	</mat-grid-tile>
	<mat-grid-tile *ngIf="addButton" colspan="1">
		... add button ....
	</mat-grid-tile>
</mat-grid-list>
@chrisaige
Copy link
Contributor Author

Added pull request with example how I think it would work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant