Media query for text component

Is there a way to add CSS logic for a native builder component?
I need to change the height to a fix value depending on the screen size

image