Skip to content

Commit

Permalink
Adding some styling to the default template so that plain <img> eleme…
Browse files Browse the repository at this point in the history
…nts within posts don't overflow the content div's width.
  • Loading branch information
jmacdotorg committed Oct 6, 2016
1 parent f25a014 commit 987364d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Changes
@@ -1,3 +1,7 @@
1.42 2016-10-06

- Adding some styling to the default template so that plain <img> 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/Plerd.pm
@@ -1,6 +1,6 @@
package Plerd;

our $VERSION = '1.41';
our $VERSION = '1.42';

use Moose;
use Template;
Expand Down
3 changes: 3 additions & 0 deletions templates/wrapper.tt
Expand Up @@ -19,6 +19,9 @@
.sidebar section {
margin-top: 2em;
}
img {
width: 100%;
}
</style>
</head>
<body>
Expand Down

0 comments on commit 987364d

Please sign in to comment.