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

Feature idea: close message with a click on the message #14

Open
ronny332 opened this issue Jan 3, 2014 · 0 comments
Open

Feature idea: close message with a click on the message #14

ronny332 opened this issue Jan 3, 2014 · 0 comments

Comments

@ronny332
Copy link

ronny332 commented Jan 3, 2014

This is just a short CSS modification to close the message with a click anywhere within the bubble.

.growl .growl-item {
  position: relative;
}

.growl .growl-item button {
  line-height: 0;
  font-size: 0;
  color: transparent;
  right: 0;
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

With these styles added to your stylesheet the usage is more similar to the original growl behavior.

As next feature an interruption of the timeout delay would be very nice to keep the message on the screen (again more similar to the default growl settings at mac os).
This should be very easy to do by editing the source, but I will search for a shorter way from now on ;-).

stelcheck pushed a commit to stelcheck/angular-growl that referenced this issue Jul 12, 2014
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

No branches or pull requests

1 participant