Open ardi-n opened 12 years ago
I do not see the reason for this... rejected, sorry.
ardi-n: I do the same in each of my diem installs. IMO you're right - diem should not break the layout.
Ok, I see, but why not for Zone as well? Pull fix so we can merge it.
It will break anyway because the "widget" handle is shown as well.
I fix this adding additionals CSS which disables floats and positions in edit mode to make it look "right".
Off course both widget and zone need to be restyled. In my case I changed 'widget' and 'zone' "tags" into little 1/4-circles with 'W' and 'Z' in it. They're placed in left and right corner respectingly. Coupled with border-to-outline change it does the thing. No dimension is changed in edit mode at all
hmmm... seems like I can post an image too: here you can see widget with no body in zone which has slightly dimmed body in edit mode only
@jrencz can you share the code for that? Or is it just a concept? Because a widget div will overlay zone div making it impossible to click on "Z" to edit the zone
@eXtreme sure I do ;) And it's clickable. Should I make a pull request? Probably it's not ready for merging with Diem yet or anyway. Maybe the right way is to make a plugin. I'll try to rewrite it into a plugin during Christmas break. Feel free to contact if you want to help: jrencz@polibuda.info
PR would be great, I'd like to test it myself.
@jrncs Would you be so kind and share your solution for this with us?
sorry, but I had (and for netx 3 weeks won't have probably) any time to separate it form my project. It'll either have to wait or be closed for now
I would suggest to disable border for highlighted widgets because it brakes layout of the page. Instead we can use
outline does not change box model.