Bug #23619
closedSprite generator should add more space between icons
0%
Description
There's no (or only few px) distance between icons. Increase this to 20-50px.
Otherwise things like in the screenshot can happen: The <span> containing the icon gets 4px margin because of another CSS definition. Result is some that a small piece of the neighbour icon is shown, too.
(issue imported from #M15819)
Files
Updated by Ernesto Baschny almost 14 years ago
Shouldn't the fix in this case be in to use a margin-right: 6px instead of a padding-right on the span?
The sprite-span shouldn't get more padding added, as it is at the exact right size already for fitting its icon.
Updated by Steffen Gebert almost 14 years ago
Although I would say that it doesn't harm to use same space between the icons (and this was also one of the tipps I ready, while I got my teeth into sprites), I'm fine with keeping it without space. I've fixed the topbar icon now in #24360