ng-matero / extensions

Angular Material Extensions Library.
https://ng-matero.github.io/extensions/
MIT License
393 stars 48 forks source link

mtx-select: Custom optgroup template has unnecessary extra height spacing #174

Closed AlonsoK28 closed 1 year ago

AlonsoK28 commented 1 year ago

Lastest v15 add extra height spacing for "group title dropdown" template and the v14 does not seem to have it

.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {
    height: 3em; // this seem to be the issue
    padding: 14px 16px;
    font-weight: 500;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}
AlonsoK28 commented 1 year ago

also add extra bottom spacing for last element?

Captura de pantalla 2023-01-16 a la(s) 14 53 16
AlonsoK28 commented 1 year ago

how can acces to matero-extension v14 documentation?

nzbin commented 1 year ago

how can acces to matero-extension v14 documentation?

You can clone the v14 branch and use npm run serve:docs to check the v14 docs.

I have tested it. This is a bug in v15 and I will fix it as soon as possible.

nzbin commented 1 year ago

also add extra bottom spacing for last element? Captura de pantalla 2023-01-16 a la(s) 14 53 16

I can't reproduce this issue. Can you give me an online stackblitz demo?