how to define height of select

how to define height of select ?
it didn’t work, how would it be correct?

<script>
        $(document).ready(function() {
            $('#pn').select2({
                placeholder: "Selecione um PN: "
            });
            width: 'resolve';
            height: 'resolve'
        });
    </script>