StackExchangeScripts icon indicating copy to clipboard operation
StackExchangeScripts copied to clipboard

UI improvement

Open mvy opened this issue 14 years ago • 3 comments

Removed padding modification to add better look when navigating. I think the css had changed since the script was done. I've removed the padding section (.css() that was adding properties in order to restore the original layout) and replaced it by .removeAttr that deletes the style attribute, thus restoring the css file default values.

@TODO: find a way to avoid the 1x1 shifting when the border spawns There is still a problem I can't figure out: the addition of the border induces a shift of 1 px down and 1px right.

mvy avatar Jul 21 '11 15:07 mvy

Hmm, that styling was supposed to be applied on the page load so that you didn't notice any shifts when switching between posts, but clearly that wasn't the case (and adding the padding produces some other issues). I'm going to hold off on merging this for the moment though, because I think this might need a more extensive fix. Let me play around with it a bit and I'll get back to you.

tms avatar Jul 25 '11 06:07 tms

Well if you can make it even better, that's fine :P

mvy avatar Jul 25 '11 07:07 mvy

Note that “todo” is a GitHub user…

FranklinYu avatar Feb 14 '18 18:02 FranklinYu