From 987364d8e7be80f0751d4620b17aa77c319c8857 Mon Sep 17 00:00:00 2001 From: Jason McIntosh Date: Thu, 6 Oct 2016 00:16:02 -0400 Subject: [PATCH] Adding some styling to the default template so that plain elements within posts don't overflow the content div's width. --- Changes | 4 ++++ lib/Plerd.pm | 2 +- templates/wrapper.tt | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index d9ecb20..a312300 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,7 @@ +1.42 2016-10-06 + + - Adding some styling to the default template so that plain elements within posts dont overflow the content div's width. + 1.41 2016-09-17 - Fixing a bug that would sometimes cause existing posts' "older_post" and "newer_post" methods to return incorrect values after new the publication of new posts. diff --git a/lib/Plerd.pm b/lib/Plerd.pm index 040fb63..c7e6eaa 100644 --- a/lib/Plerd.pm +++ b/lib/Plerd.pm @@ -1,6 +1,6 @@ package Plerd; -our $VERSION = '1.41'; +our $VERSION = '1.42'; use Moose; use Template; diff --git a/templates/wrapper.tt b/templates/wrapper.tt index bc907e6..22a9ea2 100644 --- a/templates/wrapper.tt +++ b/templates/wrapper.tt @@ -19,6 +19,9 @@ .sidebar section { margin-top: 2em; } + img { + width: 100%; + }