mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
Fixing scroll hidden issue #587
This commit is contained in:
parent
51a473f4f0
commit
86603dec48
@ -42,7 +42,8 @@ export class PageHelper {
|
||||
}
|
||||
|
||||
public static isScrollYVisible(): boolean {
|
||||
return PageHelper.body.style.overflowY === 'scroll';
|
||||
return PageHelper.body.style.overflowY === 'scroll' ||
|
||||
(!PageHelper.body.style.overflowY && document.documentElement.scrollHeight > document.documentElement.clientHeight);
|
||||
}
|
||||
|
||||
public static hideScrollY(): void {
|
||||
|
@ -1,5 +1,4 @@
|
||||
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
@ -18,7 +17,7 @@ bs-dropdown-container {
|
||||
}
|
||||
|
||||
/* TODO: remove popover in ngx-bootstrap, bootstrap 5.3-alpha is fixed */
|
||||
.bs-popover-top, .bs-popover-bottom{
|
||||
.bs-popover-top, .bs-popover-bottom {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
@ -31,6 +30,7 @@ bs-dropdown-container {
|
||||
element.style {
|
||||
width: 100px;
|
||||
}
|
||||
[data-bs-theme=dark] .btn:not(.btn-secondary):not(.btn-danger):not(.btn-warning):not(.btn-primary):not(.btn-success){
|
||||
|
||||
[data-bs-theme=dark] .btn:not(.btn-secondary):not(.btn-danger):not(.btn-warning):not(.btn-primary):not(.btn-success) {
|
||||
--bs-btn-color: var(--bs-body-color);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user