@bbki.ng/ui 0.1.18 → 0.1.19

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @bbki.ng/ui
2
2
 
3
+ ## 0.1.19
4
+
5
+ ### Patch Changes
6
+
7
+ - 80724cd: fix scroll
8
+
3
9
  ## 0.1.18
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/ui",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Design system component library for bbki.ng",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -15,7 +15,16 @@ export const Page = (props: PageProps) => {
15
15
  <main className="flex flex-col h-full">
16
16
  <div className="grow-0 w-full fixed top-0 z-50">{nav}</div>
17
17
  {/* secctio padding top 192px */}
18
- <section className="grow shrink-0">{main}</section>
18
+ <section
19
+ className="grow shrink-0"
20
+ style={{
21
+ transform: 'translateZ(0)',
22
+ contain: 'layout style paint',
23
+ scrollMarginTop: 0,
24
+ }}
25
+ >
26
+ {main}
27
+ </section>
19
28
  </main>
20
29
  );
21
30
  };