mirror of
https://github.com/pinry/pinry.git
synced 2025-11-16 18:05:51 +01:00
Fix: Small picture should be resize to standard width in pin and board
This commit is contained in:
committed by
Isaac Bythewood
parent
4a33fd806a
commit
ee0c7b97a0
@@ -104,6 +104,7 @@ export default {
|
||||
this.blocksMap[itemId].class = {
|
||||
'image-loaded': true,
|
||||
};
|
||||
this.blocksMap[itemId].style.height = 'auto';
|
||||
},
|
||||
registerScrollEvent() {
|
||||
const self = this;
|
||||
@@ -191,6 +192,7 @@ $avatar-height: 30px;
|
||||
|
||||
.board-card{
|
||||
.card-image > img {
|
||||
min-width: $pin-preview-width;
|
||||
background-color: white;
|
||||
border-radius: 3px 3px 0 0;
|
||||
@include loader('../assets/loader.gif');
|
||||
|
||||
Reference in New Issue
Block a user