Gallery card height depends on the preview content. Use consistent preview fields and the same thumbnail height to make cards more uniform; there is no universal fixed-height setting for every preview field.
Setting a consistent thumbnail height does not guarantee that every card will have the same height when preview content varies.
To set the thumbnail height:
Open the relevant Gallery view settings.
Choose Thumbnail Height when a thumbnail is enabled.