forked from Archives/Athou_commafeed
add previous and next buttons (#1096)
This commit is contained in:
@@ -89,6 +89,7 @@ export const Constants = {
|
||||
mobileBreakpoint: DEFAULT_THEME.breakpoints.md,
|
||||
headerHeight: 60,
|
||||
entryMaxWidth: 650,
|
||||
buttonSpacing: 14,
|
||||
isTopVisible: (div: HTMLElement) => div.getBoundingClientRect().top >= Constants.layout.headerHeight,
|
||||
isBottomVisible: (div: HTMLElement) => div.getBoundingClientRect().bottom <= window.innerHeight,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user