The example above applies to all input elements. Using ng deep or deep was not a solution for me as it s being deprecated soon. Mat card actions represents the section.