fix(ui): fix api default icon in swagger title
Added the width property to the API default icon to avoid overlapping and missing paddings.
@@ -72,6 +72,7 @@ export class ImgOrIconSelectorComponent implements AfterViewInit, OnChanges {
icons.forEach((icon: HTMLElement) => {
icon.style.fontSize = this.dimension + 'px';
icon.style.height = this.dimension + 'px';
+ icon.style.width = this.dimension + 'px';
});
}
}
