Opened 11 years ago
Last modified 11 years ago
#11639 confirmed Bug
Image2's resizer is displayed far from image if image has a margin
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | General | Version: | 4.3 Beta |
Keywords: | Cc: |
Description
Add to contents styles:
img { margin: 10px }
And the resizer will be displayed 10px from its correct position. Can we do anything about it other than resetting that style?
I think that the only solution is to change the resizer position if margin was discovered, but that's not even close to a clean solution.
On the other hand, if I set padding instead of margin, then resizer also isn't displayed over the image. But in this case it's still displayed over the widget outline (so it looks good), because the outline is also pushed from image. So theoretically we could add border or ~0px padding to widget wrapper, so it'd be pushed from image if it has margin, but then we would break margins collapsing between image and surrounding elements, what's not acceptable.
Change History (2)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.3 → 4.3 Beta |
You can : padding: 10x