0 votes
in Rock by DavidTurner (14.9k points)
edited

Is there a way to move the + Plus button when adding items to a matrix item attribute from the bottom right corner to the bottom left corner so it appears in frame on mobile viewing?

1 Answer

0 votes
by DavidTurner (14.9k points)
edited
 
Best answer

You can add the following script to the Post-HTML setting on the block that is displaying the matrix item attribute (i.e. Workflow Entry block)

<script>

    Sys.Application.add_load(function () {
        var $tr= $("[id$='gMatrixItems_actionFooterRow']");
        $tr.find("td.grid-actions").css({"text-align": "left", "padding-left": "0px"});
        $tr.find("a.btn-add").css("margin-left", "0px");
    });
    
</script> 
Welcome! Here you can ask questions and receive answers (hopefully) from other members of our team.
...