Moved inline image decoration to the parent element.