use decals on edges

Hi there, how do i use decals on edges without them projecting all weird on the floor like in the example below?

could appreciate some help!

Cheers,

Philip