diff --git a/client/layouts/Centering.jsx b/client/layouts/Centering.jsx
index 17304a0..ec08944 100644
--- a/client/layouts/Centering.jsx
+++ b/client/layouts/Centering.jsx
@@ -2,6 +2,8 @@ import React from 'react';
import DetailsLayout from '../DetailsLayout';
import BrowserFrame from '../placeholders/BrowserFrame';
+import Dot from '../placeholders/Dot';
+import Rectangle from '../placeholders/Rectangle';
import SampleCode from '../SampleCode';
import useDocumentTitle from '../useDocumentTitle';
@@ -14,7 +16,10 @@ const Centering = () => {
- CENTER
+
+
+
+
}
source={
@@ -24,10 +29,9 @@ code={`
- CENTER
+ ...
`}
/>
diff --git a/client/layouts/Sidebar.jsx b/client/layouts/Sidebar.jsx
index 2adbe24..7958381 100644
--- a/client/layouts/Sidebar.jsx
+++ b/client/layouts/Sidebar.jsx
@@ -12,6 +12,7 @@ const Sidebar = () => {
return (
Sidebar
+ Try to scroll the main content!
diff --git a/client/layouts/StickyHeader.jsx b/client/layouts/StickyHeader.jsx
index 17a064e..c951a3b 100644
--- a/client/layouts/StickyHeader.jsx
+++ b/client/layouts/StickyHeader.jsx
@@ -13,6 +13,7 @@ const StickyHeader = () => {
return (
Sticky header
+ Try to scroll the main content to see the header sticks to the top of page.
diff --git a/client/placeholders/Dot.jsx b/client/placeholders/Dot.jsx
index abfb753..7267be8 100644
--- a/client/placeholders/Dot.jsx
+++ b/client/placeholders/Dot.jsx
@@ -1,8 +1,14 @@
import React from 'react';
-const Dot = () => {
+const Dot = ({ size = 16 }) => {
return (
-
+
);
};
diff --git a/client/placeholders/Frame.jsx b/client/placeholders/Frame.jsx
index 545fbb5..fb1d17b 100644
--- a/client/placeholders/Frame.jsx
+++ b/client/placeholders/Frame.jsx
@@ -1,13 +1,10 @@
import React from 'react';
-const Frame = ({ children, size }) => {
- const bw = (size === 'medium' ? '2px' : '1px');
-
+const Frame = ({ children }) => {
return (