Read the statement by Michael Teeuw here.
MMM-Scrapey - I made something that could be useful?
-
@fredric.nil don’t know the answer, but use the developers window elements tab
see second link in my signature below to learn how to use
-
Thanks for the tip, but that’s where I was looking.
It seems that no matter what I put in for attributes, they don’t show up in the module.
I’m going crazy soon -
@fredric.nil where are you putting them?
-
well there is a problem
.MMM-Scrapey .td {
the stuff before the {
is called the selector clause, it ‘selects’ the elements the styles after the { apply toif the thing in the selector clause starts with a dot(.)
that means classname, class=
if it starts with a pound sign(#)
that means id, id=
otherwise no prefix means an html element nametable, tr, td, div, …
you have .td
-
I put it in the custom.css.
It doesn’t seem to matter if I enter.td , #td , td or .MMM-Scrapey .td , .MMM-Scrapey3 #td or .MMM-Scrapey td or even .td , #td or td before {
I can only say that this is not my cup of tea.
-
@fredric.nil yes as @sdetweil says it needed to be
.MMM-Scrapey td {}
to have any effect.Try this in your custom CSS, I think it’s the line height you want to adjust, not the padding:
.MMM-Scrapey td { line-height: 1; }
MagicMirror default line height on the body element is 1.5 so I think everything inherits that unless overidden.
-
@AndyHazz said in MMM-Scrapey - I made something that could be useful?:
.MMM-Scrapey td {
line-height: 1;
}
Just that, perfect
Thank you. -