-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
updatenotification: check Active (something displayed) #3426
Conversation
what do you mean active? not hidden? not active mean display:none; modules are ALWAYS 'active' , just not displayed.. if a module is not loaded, then it is not there at all. |
what module? |
I don't understand, |
you said if you add a background in this module, I want to see the module, and its source code hide should kill its background as its a z-index, not a diifferent dom placement |
euh ... this module is |
how would updatenotification get a background, it's not coded for one in css or njk |
after.... maybe i'm crazy ... but if you apply a padding to updatenotification with some effect css:
|
what is the content normally, not hidden, just the empty div from the njk? |
yes it's the |
the better way (for me) is add an BUT:
So...
something like:
in all case ... thanks |
there is no getDom() with templated modules it's getTemplateData() see weather.js |
already tested. Note that why I have added this
in module.js |
but why do you need that? module is over that and you can get the div below module-content, easy w jquery. and just as easy in css file. as we havent had any reports of UN showing when hidden.. what's the problem u are trying to solve? |
I was simply trying not to display an empty div which causes a color band when using css now if you can determine it with css: well done In all case, you have right sam, it's noted : no report = no change I just added Can I close #3425 too then (because one needs the other) ? |
more seriously, it's solved with this CSS pointer
|
just for clarity and accuracy, that is called the selector of course it needs the module name class prefix so.it doesn't apply to all .modules |
No no, there is no report about this, so i made no change |
@sdetweil It's ok for you ? because it's very clear for me |
Added:
<div></div>
and module spacing)this need #3425, should I merge with it and make one PR only ?