How to set thubnail size for block "recently viewed"?

I upgraded my cart to 2.1.1 and enabled the “recently viewed” block and it prdoces images size 40x40

I then added a new product to my cart but when its image thumb get shown in the recently viewed block it is show as 40x152

So I was just wondering where I can set the dimensions of the images for this block?