Skip to content

Commit dd1291f

Browse files
committed
refactor: minor fixes
1 parent 551509b commit dd1291f

File tree

4 files changed

+21
-11
lines changed

4 files changed

+21
-11
lines changed

Diff for: src/app/views/buttons/dropdowns/dropdowns.component.html

+21-8
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271
</c-nav-item>
272272
<c-nav-item>
273273
<c-dropdown variant="nav-item" [popper]="false">
274-
<a routerLink="./" cDropdownToggle>
274+
<a cNavLink cDropdownToggle>
275275
Dropdown
276276
</a>
277277
<ul cDropdownMenu dark>
@@ -484,23 +484,36 @@
484484
</c-card-header>
485485
<c-card-body>
486486
<p class="text-medium-emphasis small">
487-
Trigger dropdown menus centered below the toggle by adding <code>direction="center"</code> to the <code>c-dropdown</code> component.
487+
Trigger dropdown menus centered below the toggle by adding <code>direction="center"</code> to the <code>c-dropdown</code>
488+
component.
488489
</p>
489490
<app-docs-example href="components/dropdown#centered">
490491
<c-dropdown direction="center" variant="btn-group">
491492
<button cButton cDropdownToggle color="secondary">Centered dropdown</button>
492493
<ul cDropdownMenu>
493-
<li><button cDropdownItem>Action one</button></li>
494-
<li><button cDropdownItem>Action two</button></li>
495-
<li><button cDropdownItem>Action three</button></li>
494+
<li>
495+
<button cDropdownItem>Action one</button>
496+
</li>
497+
<li>
498+
<button cDropdownItem>Action two</button>
499+
</li>
500+
<li>
501+
<button cDropdownItem>Action three</button>
502+
</li>
496503
</ul>
497504
</c-dropdown>
498505
<c-dropdown direction="dropup-center" class="dropup" variant="btn-group">
499506
<button cButton cDropdownToggle color="secondary">Centered dropdup</button>
500507
<ul cDropdownMenu>
501-
<li><button cDropdownItem>Action one</button></li>
502-
<li><button cDropdownItem>Action two</button></li>
503-
<li><button cDropdownItem>Action three</button></li>
508+
<li>
509+
<button cDropdownItem>Action one</button>
510+
</li>
511+
<li>
512+
<button cDropdownItem>Action two</button>
513+
</li>
514+
<li>
515+
<button cDropdownItem>Action three</button>
516+
</li>
504517
</ul>
505518
</c-dropdown>
506519
</app-docs-example>

Diff for: src/app/views/buttons/dropdowns/dropdowns.component.scss

Whitespace-only changes.

Diff for: src/app/views/buttons/dropdowns/dropdowns.component.ts

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Component } from '@angular/core';
33
@Component({
44
selector: 'app-dropdowns',
55
templateUrl: './dropdowns.component.html',
6-
styleUrls: ['./dropdowns.component.scss']
76
})
87
export class DropdownsComponent {
98

Diff for: src/declarations.d.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
declare module '@coreui/chartjs/dist/js/coreui-chartjs.js';
2-
31
declare module '*.json' {
42
const value: any;
53
export default value;

0 commit comments

Comments
 (0)