[dreamwidth/dw-free] a18da4: [#841] Enforce max-width on images in smaller scre...
Branch: refs/heads/release-1.21
Home: https://github.com/dreamwidth/dw-free
Commit: a18da490aef81f01fff5fbdfaff18421b85c2c31
https://github.com/dreamwidth/dw-free/commit/a18da490aef81f01fff5fbdfaff18421b85c2c31
Author: Afuna <fu@dreamwidth.org>
Date: 2014-07-28 (Mon, 28 Jul 2014)
Changed paths:
M cgi-bin/LJ/Poll.pm
M styles/core2base/layout.s2
M styles/snakesandboxes/layout.s2
M styles/trifecta/layout.s2
Log Message:
-----------
[#841] Enforce max-width on images in smaller screens
* also removes similar code in some layouts because it's no longer
needed
* add height to poll image style attribute so it overrides height: auto
(but don't remove height attribute, needed for, e.g., email
notifications)
Fixes #841
Commit: f61105972a80863c3543dcc5a9ffaf635cad1e31
https://github.com/dreamwidth/dw-free/commit/f61105972a80863c3543dcc5a9ffaf635cad1e31
Author: Afuna <fu@dreamwidth.org>
Date: 2014-07-28 (Mon, 28 Jul 2014)
Changed paths:
M cgi-bin/LJ/EmbedModule.pm
M htdocs/stc/lj_base.css
M htdocs/tools/embedcontent.bml
M t/clean-embed.t
Log Message:
-----------
[#841] Force a max-width onto embedded content (iframes)
* adds two new wrappers to the generated lj_embedcontent HTML:
.lj_embedcontent-wrapper and .lj_embedcontent-ratio
* .lj_embedcontent now has a width: 100%, which forces it to be as wide
as its containing element
* .lj_embedcontent-ratio gives back the height at the original aspect
ratio using padding-top (we know the given width/height so we can
generate this dynamically)
* .lj_embedcontent-wrapper forces a max-width/max-height, so that it
can't go bigger than it was originally defined, or bigger than
system-limited width/height
* the generated content inside the iframe (embedcontent.bml) is given a
width/height: 100%, so that it's as wide / high as we defined the
outer iframe to be
Fixes #841
Commit: ad5d18eeb41799b1c6407c81d64f74fbe19df411
https://github.com/dreamwidth/dw-free/commit/ad5d18eeb41799b1c6407c81d64f74fbe19df411
Author: Afuna <fu@dreamwidth.org>
Date: 2014-07-28 (Mon, 28 Jul 2014)
Changed paths:
M styles/snakesandboxes/layout.s2
M styles/trifecta/layout.s2
Log Message:
-----------
[#841] Add back image size limits on larger screens
only for Snakes and Boxes, and Trifecta -- this was the old behavior so
let's not change it
Commit: 717f674dc2fc2fd3a1d79e19bc95cc10221f042e
https://github.com/dreamwidth/dw-free/commit/717f674dc2fc2fd3a1d79e19bc95cc10221f042e
Author: Afuna <fu@dreamwidth.org>
Date: 2014-07-28 (Mon, 28 Jul 2014)
Changed paths:
M styles/abstractia/layout.s2
M styles/bases/layout.s2
M styles/blanket/layout.s2
M styles/brittle/layout.s2
M styles/drifting/layout.s2
M styles/easyread/layout.s2
M styles/negatives/layout.s2
M styles/skittlishdreams/layout.s2
Log Message:
-----------
[#841] Add image handling to all dw-free layouts
(These are the layouts that override Page::print_default_stylesheets, so
they didn't get the change automatically)
Fixes #841.
Commit: 6ce0e3362d15e3b15005f0d722158a5ef7166645
https://github.com/dreamwidth/dw-free/commit/6ce0e3362d15e3b15005f0d722158a5ef7166645
Author: Afuna <afuna@users.noreply.github.com>
Date: 2014-07-28 (Mon, 28 Jul 2014)
Changed paths:
M cgi-bin/LJ/EmbedModule.pm
M cgi-bin/LJ/Poll.pm
M htdocs/stc/lj_base.css
M htdocs/tools/embedcontent.bml
M styles/abstractia/layout.s2
M styles/bases/layout.s2
M styles/blanket/layout.s2
M styles/brittle/layout.s2
M styles/core2base/layout.s2
M styles/drifting/layout.s2
M styles/easyread/layout.s2
M styles/negatives/layout.s2
M styles/skittlishdreams/layout.s2
M styles/snakesandboxes/layout.s2
M styles/trifecta/layout.s2
M t/clean-embed.t
Log Message:
-----------
Merge pull request #846 from afuna/too-large-media-bug-841
Handle large media (images, iframes)
Compare: https://github.com/dreamwidth/dw-free/compare/c6c4f1110965...6ce0e3362d15
Home: https://github.com/dreamwidth/dw-free
Commit: a18da490aef81f01fff5fbdfaff18421b85c2c31
https://github.com/dreamwidth/dw-free/commit/a18da490aef81f01fff5fbdfaff18421b85c2c31
Author: Afuna <fu@dreamwidth.org>
Date: 2014-07-28 (Mon, 28 Jul 2014)
Changed paths:
M cgi-bin/LJ/Poll.pm
M styles/core2base/layout.s2
M styles/snakesandboxes/layout.s2
M styles/trifecta/layout.s2
Log Message:
-----------
[#841] Enforce max-width on images in smaller screens
* also removes similar code in some layouts because it's no longer
needed
* add height to poll image style attribute so it overrides height: auto
(but don't remove height attribute, needed for, e.g., email
notifications)
Fixes #841
Commit: f61105972a80863c3543dcc5a9ffaf635cad1e31
https://github.com/dreamwidth/dw-free/commit/f61105972a80863c3543dcc5a9ffaf635cad1e31
Author: Afuna <fu@dreamwidth.org>
Date: 2014-07-28 (Mon, 28 Jul 2014)
Changed paths:
M cgi-bin/LJ/EmbedModule.pm
M htdocs/stc/lj_base.css
M htdocs/tools/embedcontent.bml
M t/clean-embed.t
Log Message:
-----------
[#841] Force a max-width onto embedded content (iframes)
* adds two new wrappers to the generated lj_embedcontent HTML:
.lj_embedcontent-wrapper and .lj_embedcontent-ratio
* .lj_embedcontent now has a width: 100%, which forces it to be as wide
as its containing element
* .lj_embedcontent-ratio gives back the height at the original aspect
ratio using padding-top (we know the given width/height so we can
generate this dynamically)
* .lj_embedcontent-wrapper forces a max-width/max-height, so that it
can't go bigger than it was originally defined, or bigger than
system-limited width/height
* the generated content inside the iframe (embedcontent.bml) is given a
width/height: 100%, so that it's as wide / high as we defined the
outer iframe to be
Fixes #841
Commit: ad5d18eeb41799b1c6407c81d64f74fbe19df411
https://github.com/dreamwidth/dw-free/commit/ad5d18eeb41799b1c6407c81d64f74fbe19df411
Author: Afuna <fu@dreamwidth.org>
Date: 2014-07-28 (Mon, 28 Jul 2014)
Changed paths:
M styles/snakesandboxes/layout.s2
M styles/trifecta/layout.s2
Log Message:
-----------
[#841] Add back image size limits on larger screens
only for Snakes and Boxes, and Trifecta -- this was the old behavior so
let's not change it
Commit: 717f674dc2fc2fd3a1d79e19bc95cc10221f042e
https://github.com/dreamwidth/dw-free/commit/717f674dc2fc2fd3a1d79e19bc95cc10221f042e
Author: Afuna <fu@dreamwidth.org>
Date: 2014-07-28 (Mon, 28 Jul 2014)
Changed paths:
M styles/abstractia/layout.s2
M styles/bases/layout.s2
M styles/blanket/layout.s2
M styles/brittle/layout.s2
M styles/drifting/layout.s2
M styles/easyread/layout.s2
M styles/negatives/layout.s2
M styles/skittlishdreams/layout.s2
Log Message:
-----------
[#841] Add image handling to all dw-free layouts
(These are the layouts that override Page::print_default_stylesheets, so
they didn't get the change automatically)
Fixes #841.
Commit: 6ce0e3362d15e3b15005f0d722158a5ef7166645
https://github.com/dreamwidth/dw-free/commit/6ce0e3362d15e3b15005f0d722158a5ef7166645
Author: Afuna <afuna@users.noreply.github.com>
Date: 2014-07-28 (Mon, 28 Jul 2014)
Changed paths:
M cgi-bin/LJ/EmbedModule.pm
M cgi-bin/LJ/Poll.pm
M htdocs/stc/lj_base.css
M htdocs/tools/embedcontent.bml
M styles/abstractia/layout.s2
M styles/bases/layout.s2
M styles/blanket/layout.s2
M styles/brittle/layout.s2
M styles/core2base/layout.s2
M styles/drifting/layout.s2
M styles/easyread/layout.s2
M styles/negatives/layout.s2
M styles/skittlishdreams/layout.s2
M styles/snakesandboxes/layout.s2
M styles/trifecta/layout.s2
M t/clean-embed.t
Log Message:
-----------
Merge pull request #846 from afuna/too-large-media-bug-841
Handle large media (images, iframes)
Compare: https://github.com/dreamwidth/dw-free/compare/c6c4f1110965...6ce0e3362d15