Office UI fabric TextField control height

Copper Contributor

Hi,

 

Office UI fabric TextField control was added to SPFx web part. Need to change the text box height via css. Although the style is changed it does not get effected fro TextField but other control like button will get change.

Really appreciate support on finding approach for this.

Many Thanks,

1 Reply

you need to changed the ms-TextField class in your scss file  and not have a prefix added to it. Like this:

:global {
.ms-TextField{
height: 400px;
}
}