google-dark icon indicating copy to clipboard operation
google-dark copied to clipboard

Fix inverted images

Open skeets23 opened this issue 5 years ago • 2 comments

The parent div for these images is being inverted. Inverting the images themselves again will un-invert them.

Just added these CSS rules:

.gb_nc span{
	filter: invert(1);
}

.gb_nc .gbip{
	filter: invert(1);
}

.gb_nc img{
	filter: invert(1);
}

.gb_nc .gb_Kb{
	background: inherit;
}

.... and it's fixed: 24_08-48-346x615-52e57caa8e 1

skeets23 avatar Apr 23 '19 23:04 skeets23

Hold on -- just realized this inverts some colors in Google Docs. 😅

Let me see if I can fix it really quick....

skeets23 avatar Apr 24 '19 00:04 skeets23

Ok, it's good now. I moved the CSS selectors to be right next to the .gb_nc selector, so it will only un-invert the images if they are inverted now. 👍

skeets23 avatar Apr 24 '19 00:04 skeets23