Improve scaling of images in list
This commit is contained in:
parent
e9d56c009c
commit
98859f71ff
@ -1,4 +1,4 @@
|
||||
$list-item-image-size: 32px;
|
||||
$list-item-image-size: 24px;
|
||||
|
||||
.list {
|
||||
.header {
|
||||
@ -60,8 +60,13 @@ $list-item-image-size: 32px;
|
||||
}
|
||||
|
||||
.list-item-image {
|
||||
max-width: $list-item-image-size;
|
||||
max-height: $list-item-image-size;
|
||||
width: $list-item-image-size;
|
||||
height: $list-item-image-size;
|
||||
|
||||
@media (max-width: $md) {
|
||||
width: $list-item-image-size * 0.75;
|
||||
height: $list-item-image-size * 0.75;
|
||||
}
|
||||
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user