Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular material mini button around display some square

Im using my Angular 7 project for the Angular material mini buttons , I faced some issue , I added angular mini button, its working but when I click the button showing some square, any one know how to fix that issue?

Thanks.

please look at following my issue

enter image description here

My code

component.html

<div class="p-2">
<button mat-mini-fab>

            <mat-icon aria-label="Example icon-button with a heart icon " >edit
</mat-icon>
          </button>
</div>
          <div class="p-2"><button mat-mini-fab>

            <mat-icon aria-label="Example icon-button with a heart icon">delete
</mat-icon>
          </button>
</div>

.css

.mat-mini-fab.mat-accent {
  background-color: #e9ecef;  color: black; box-shadow: none;
}
like image 744
core114 Avatar asked Dec 31 '25 07:12

core114


1 Answers

Try

button{
  outline: none;
}
like image 120
Chellappan வ Avatar answered Jan 02 '26 20:01

Chellappan வ



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!