Skip to content

Commit 7d02249

Browse files
committed
Address copilot feedback.
1 parent c092353 commit 7d02249

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/app/public/ngx-scroll-top.component.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
(click)="scrollTop()"
44
[class.fade-in]="fadeState() === 'fading-in'"
55
[class.fade-out]="fadeState() === 'fading-out'"
6-
[class.idle]="fadeState() === 'idle'"
76
[style.background-color]="backgroundColor()"
87
aria-label="Scroll to top"
9-
style="overflow: visible"
108
>
119
<div class="content" #content>
1210
<ng-content></ng-content>

src/app/public/ngx-scroll-top.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ export class NgxScrollTopComponent implements OnInit {
7070
@Input() @HostBinding('style.font-size') public fontSize = '16px';
7171

7272
/**
73-
* Height of back to top button in string px format.
73+
* Height of back to top button in string format.
7474
*
75-
* Default: `'25px'`
75+
* @example `'32px'` or `'2rem'`
7676
*/
7777
@Input() @HostBinding('style.height') public height = '40px';
7878

@@ -84,9 +84,9 @@ export class NgxScrollTopComponent implements OnInit {
8484
public readonly position = input<'left' | 'right'>('right');
8585

8686
/**
87-
* Width of back to top button in string px format.
87+
* Width of back to top button in string format.
8888
*
89-
* Default: `'25px'`
89+
* @example `'32px'` or `'2rem'`
9090
*/
9191
@Input() @HostBinding('style.width') public width = '40px';
9292

0 commit comments

Comments
 (0)