Default theme overriding fontSize #79

macl opened this Issue Sep 2, 2012 · 2 comments

3 participants


In default.js, I am supposed to define main message css attributes, namely "fontSize".

but if the chosen layout is one of these:

case 'topCenter': case 'center': case 'bottomCenter': case 'inline':

case 'topLeft': case 'topRight':
case 'bottomLeft': case 'bottomRight':
case 'centerLeft': case 'centerRight':

then, fontSize will be overwritten to "13px". You can check the code (lines 102 and 112).

I can understand the reason to set textAlign, but I fail to see the reason to reset font size.

@needim needim closed this Aug 28, 2013

Is there a way to change the font size?

As far as I can see this is still an issue: the font size is hard coded as 13px in the code. Would be great if this was just an overridable css style instead.


Just found out that whilst a fixed font size is set on noty_message, you can still apply your own font-size to noty_text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment