@brillout/docpress 0.16.4 → 0.16.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Layout.tsx +2 -0
- package/package.json +1 -1
package/Layout.tsx
CHANGED
|
@@ -53,6 +53,8 @@ const bodyMaxWidth = 1300
|
|
|
53
53
|
const scrollFadeMask: React.CSSProperties = {
|
|
54
54
|
maskImage:
|
|
55
55
|
'linear-gradient(to bottom, rgba(0,0,0,0.3) 0px, black 20px, black calc(100% - 20px), rgba(0,0,0,0.3) 100%)',
|
|
56
|
+
// Force hardware acceleration to fix Chrome rendering bug (temporary bold text upon scrolling)
|
|
57
|
+
transform: 'translateZ(0)',
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
// Avoid whitespace at the bottom of pages with almost no content
|