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

Dashboard: Add accordion Layout for smaller screens #7111

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

Mutugiii
Copy link
Member

Fixes #7068

Adding an accordion layout for smaller screens in the dashboard

@Mutugiii Mutugiii added the WIP label May 30, 2022
@Mutugiii Mutugiii requested a review from lmmrssa May 30, 2022 16:15
@Mutugiii
Copy link
Member Author

@lmmrssa Regarding the background color change issue for the accordion, it happens because there is a hover for the mat-expansion-panel-header selector that sets the background to inherit when the accordion is expanded.

I have tried using the code below to overwrite the class which works when a color is explicitly specified but it is unable to unset it to the previous colour when using revert/unset/initial

mat-expansion-panel-header:hover {
    background: revert;
]

@lmmrssa lmmrssa force-pushed the 7068-dashboard-list-accordion branch from 748e747 to a3b2ec3 Compare June 15, 2022 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change dashboard list to accordion
2 participants