Skip to content

Commit 0633062

Browse files
committed
refactor(nav): add underline-border variant
1 parent 34ed0d1 commit 0633062

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
:host .nav-link:focus {
22
outline: 0;
33
}
4+
5+
// todo: temp fix for nav-underline-border
6+
:host.nav-underline-border {
7+
column-gap: 0;
8+
}
9+
10+

projects/coreui-angular/src/lib/nav/nav.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ export class NavComponent {
1414
@Input() layout?: 'fill' | 'justified';
1515
/**
1616
* Set the nav variant to tabs or pills.
17-
* @type {'tabs' | 'pills' | 'underline'}
17+
* @type 'tabs' | 'pills' | 'underline' | 'underline-border'
1818
*/
19-
@Input() variant?: '' | 'tabs' | 'pills' ;
19+
@Input() variant?: '' | 'tabs' | 'pills' | 'underline' | 'underline-border';
2020

2121
@HostBinding('class')
2222
get hostClasses(): any {

0 commit comments

Comments
 (0)