About tightening the lines of the titles, change the entire code into this one:
.widget-posts-in-sidebar li.pis-li {
clear: both;
overflow: hidden;
margin-bottom: 10px;
}
.widget-posts-in-sidebar p.pis-title {
float: right;
line-height: 16px;
width: 105px;
}
.widget-posts-in-sidebar p.pis-excerpt {
float: left;
}
.widget-posts-in-sidebar img.pis-thumbnail-img {
float: left;
margin-right: 15px;
width: 40px;
height: auto;
}
Edit margin-bottom: 10px;
and line-height: 16px;
to the values you like.
About the images, currently you have images 40px (width) x auto (height). Perhaps you should define a custom image size and Simple Image Sizes could help you. Before defining a new image size, consider the space you have:
Sidebar width: 160px
Title width: 105px
Right margin of the image: 15px
Resulting availabe image width: 160-105-15 = 40px
If you want, you can modify 40px
to (for example) 45px
: in this case, edit other values accordingly in the CSS (for example, title width=100px OR image margin-right=10px).
Let’s say you want a thumbnail 35×60 pixels. In the plugin Simple Image Sizes define a new image size 35px x 60px and give it a name of your choice. In the Posts in Sidebar widget panel you’ll find this new image size. After choosing this image in the widget panel, change also the CSS accordingly, in this case change image width to 35px and title width to 110px (or image right margin to 10px).
Bye.