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

Update: add generic .notify__btn-icon class (fixes #275) #276

Closed
wants to merge 1 commit into from

Conversation

kirsty-hames
Copy link
Contributor

Fixes #275

Apply .notify__btn-icon to popup icon buttons to inherit styles from Vanilla notify.less.

Once merged, we can remove the duplicate code from Vanilla hotgraphicPopup.less. This means the default style is set in one place but we still have plugin specific classes to target should you want to style these different - although there's good reason for keeping UI button styling consistent.

@kirsty-hames
Copy link
Contributor Author

PR might not be needed pending Vanilla decision adaptlearning/adapt-contrib-vanilla#443 (comment)

@kirsty-hames
Copy link
Contributor Author

As per adaptlearning/adapt-contrib-vanilla#443 (comment), additional class not needed.

@kirsty-hames kirsty-hames deleted the issue/275 branch May 25, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reduce duplicate code across plugins using notify popup
1 participant