Oct. 11th, 2012

[personal profile] chagrined

Title:
Remove unnecessary whitespace from embedded objects

Area:
Entries

Summary:
Currently Dreamwidth adds an extra 50 pixels of blank space to embedded objects in entries to avoid problems with nesting iframes. I want to remove that extra whitespace by fixing the iframe style instead so that the nesting does not cause problems. This will give users more control over entry flow/layout.

Description:
Currently Dreamwidth adds an extra 50 pixels of blank space to embedded objects in entries. I assume this was done because if a user embeds an iframe object in an entry, the Dreamwidth code puts that iframe inside another iframe, and then if the two iframes are the same size, you get scroll bars because the body tag in the outer iframe has a margin of 8px around it (in my browser; other browsers may add other margin sizes). Thus, someone wrote some code to add an extra 50px to the width and height of the outer iframe object.

Unfortunately, this leads to an extra 42px of whitespace below the embedded object (in addition to the 8px of whitespace above and to the left and right). Visually this looks like a bunch of extra line breaks under an embedded object, and makes it frustrating when one is, for example, trying to add text after that object (as an explanation/comment, etc.), because it will show up several lines below. It makes it harder for users to control the visual layout of their own entry because there is no way to get rid of this unnecessary whitespace.

My solution is a patch I have already successfully tested out on my Dreamhack account. It will remove the extra 50 pixels of blank space. Instead, the outer iframe's body tag will be given a style with a margin/padding/border of 0. Then both iframes can have the same height/width. There won't be problems with scrollbars and there won't be lots of unneeded whitespace. As with an image or anything else that can be inserted in a Dreamwidth entry, users will be able to control how much space they want around embedded objects.

Poll #12194 Remove unnecessary whitespace from embedded objects
Open to: Registered Users, detailed results viewable to: All, participants: 48


This suggestion:

View Answers

Should be implemented as-is.
30 (62.5%)

Should be implemented with changes. (please comment)
0 (0.0%)

Shouldn't be implemented.
0 (0.0%)

(I have no opinion)
18 (37.5%)

(Other: please comment)
0 (0.0%)

montuos: cartoon portrait of myself (Default)
[personal profile] montuos

Title:
Allow "Use the time when entry is posted" to be set as default

Area:
posting entries

Summary:
Allow "Use the time when entry is posted" to be set as default when posting entries.

Description:
It is clear from reading "Get rid of restrictions on future-dated posts" [http://dw-suggestions.dreamwidth.org/1387122.html] that there are many users who are passionate about posts being timestamped when the Create Entries page was first opened, not when composition was complete. However, there are others of us who are just as passionate that entries should be timestamped at the moment of posting, *not* at the moment (days, hours, or even just minutes ago) that we started writing the post, unless we explicitly choose otherwise.

Therefore, I would like it to be possible to set "Use the time when entry is posted" as default, or if this is not possible, then at least for the Create Entries page to remember the previous setting.

Poll #12195 Allow "Use the time when entry is posted" to be set as default
Open to: Registered Users, detailed results viewable to: All, participants: 63


This suggestion:

View Answers

Should be implemented as-is.
44 (69.8%)

Should be implemented with changes. (please comment)
9 (14.3%)

Shouldn't be implemented.
2 (3.2%)

(I have no opinion)
8 (12.7%)

(Other: please comment)
0 (0.0%)

Profile

Dreamwidth Suggestions

December 2018

S M T W T F S
      1
23 45678
9101112131415
16171819202122
23242526272829
3031     

Style Credit

Expand Cut Tags

No cut tags