Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove input border from mat paginator

I am using a mat-paginator and it looks like this enter image description here

The only problem is that I want to erase the blue border that appears at the select input, but I can not figure out how to do it.

like image 950
Edgar Avatar asked Feb 11 '26 12:02

Edgar


2 Answers

to remove the border you should use this.

.mdc-notched-outline__trailing,
.mdc-notched-outline__notch,
.mdc-notched-outline__leading {
    border: none !important;
}

this will delete the border, hope it works.

like image 100
Edy Avatar answered Feb 13 '26 08:02

Edy


In Angular Material v15, this ca be achieved as follows:

::ng-deep .mdc-notched-outline > * {
  border: none !important;
}

This answer is inspired by https://stackoverflow.com/a/75258592/2358409

like image 35
uminder Avatar answered Feb 13 '26 09:02

uminder