By applying pr-1 on a container div instead of directly on the image (which distorts it), it creates the intended padding effect without any image distortion. |
||
|---|---|---|
| .. | ||
| index.html.erb | ||
| index.json.jbuilder | ||
| show.html.erb | ||
| show.json.jbuilder | ||
By applying pr-1 on a container div instead of directly on the image (which distorts it), it creates the intended padding effect without any image distortion. |
||
|---|---|---|
| .. | ||
| index.html.erb | ||
| index.json.jbuilder | ||
| show.html.erb | ||
| show.json.jbuilder | ||