We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c2f142 commit 679b97bCopy full SHA for 679b97b
2 files changed
src/app/shared/components/icon/icon.scss
@@ -0,0 +1,9 @@
1
+:host {
2
+ display: inline-flex;
3
+}
4
+
5
+// Block removes the inline-baseline descender gap, so the glyph sits on the
6
+// true vertical centre inside flex rows (buttons, links, captions).
7
+svg {
8
+ display: block;
9
src/app/shared/components/icon/icon.ts
@@ -6,6 +6,7 @@ import { SocialIcon } from '@core/models/portfolio.interface';
selector: 'app-icon',
changeDetection: ChangeDetectionStrategy.OnPush,
templateUrl: './icon.html',
+ styleUrl: './icon.scss',
10
})
11
export class Icon {
12
readonly name = input.required<SocialIcon>();
0 commit comments