Hi experts,
I'm trying to change the size of the image/icon of the StandardTile.
I've managed to get the div .sapMStdTileIconDiv to change size. However, the image size seems to be somehow hardcoded by SAP (see the style section in below CSS, 2 x 2 rem. Bottom of this post)?
Any CSS expert here who might have a clue?
Br
Max
I've tried these statements in CSS, without results. I know that the two latter examples are not preferred as they only will affect tile0.
1:
.sapMStdTileIconDiv .sapMImg{
height: 112px;
width: 112px;
}
2:
.sapMImg{
height: 112px;
width: 112px;
}
3:
#__tile0-img .sapMImg{
height: 112px;
width: 112px;
}
4:
#__tile0-img sapMImg{
height: 112px;
width: 112px;
}
There is another post here with a answer marked as correct. However, that class does not exist in my environment. Maybe newer version of UI5 etc.
From Chrome Inspector (F12):
<img src="sourceURL" id="__tile0-img" data-sap-ui="__tile0-img" class="sapMImg" role="presentation" alt="" tabindex="-1" style="width:2rem;height:2rem">