The past couple sites that I have built I have had to override the IPE border styles and convert them to outlines so it doesn't reduce the size of the IPE content area. I also remove the margin for the same reason. Attached is a patch for this. I'm wondering what the reason for the margin is?

CommentFileSizeAuthor
#1 panels-ipe-current.png304.58 KBpopulist
#1 panels-ipe-patch.png233.09 KBpopulist
remove-ipe-margin-and-border.patch821 bytesAnonymous (not verified)

Comments

populist’s picture

Status: Needs review » Needs work
StatusFileSize
new233.09 KB
new304.58 KB

I think there are two issues here:

1.) Changing the border CSS to outline CSS - I think this makes sense and I can see how this would help with width considerations with the IPE.

2.) Reducing the margin - This margin was added to provide some space for each of the elements. Consider the before and after:

Current Approach

Patched Version

I am not sure its a good idea to remove the margin since IMO the content looks less balanced, but I would be curious what other implementations look like (i.e. does margin mess up others themes).