How can I prevent Elementor from truncating SVG graphics?

As soon as several SVG graphics are arranged in a row, they are often cropped or cut off if the files have different dimensions.

One possibility is to give all SVGs the same dimensions. An alternative is to remove the following code from the SVG file if you can no longer or no longer want to edit the graphics:

clip-path="url(#clip0)"

With the following script in functions.php, the entry is automatically removed from all SVG files that have already been uploaded. The website will only be accessible again once the entry has been removed from functions.php. This can only be done via FTP. Please proceed with caution and make a backup beforehand!

add_filter( 'elementor/widget/render_content', function( $content, $widget ) {
    if ( 'icon-list' !== $widget->get_name() ) {
        return $content;
    }

    $content = str_replace(' clip-path="url(#clip-path)"', '', $content);
    $content = str_replace(" clip-path='url(#clip-path)'", '', $content);

    return $content;
}, 10, 2 );