25.03.2024, 10:11
Add to Custom JS and use text-inside Additional class.
Code:
$(function(){
$('.text-inside').each(function(_, el) {
var $el = $(el);
var height = $el.find('.icon').height();
$el.find('.value').css({
position: 'absolute',
top: 0,
left: 0,
width: '100%',
'line-height': height + 'px',
'pointer-events': 'none',
});
});
});