Skip to content

Commit 9a3d031

Browse files
committed
refactor: Rename body class for clarity
Follow Gutenberg project practices.
1 parent 0afc3f7 commit 9a3d031

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
/>
99
<title>Gutenberg</title>
1010
</head>
11-
<body>
12-
<div id="root" class="root"></div>
11+
<body class="gutenberg-kit">
12+
<div id="root" class="gutenberg-kit-root"></div>
1313
<script type="module" src="/index.jsx"></script>
1414
</body>
1515
</html>

src/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@use "@wordpress/base-styles/variables" as wordpress;
22

3-
.root {
3+
.gutenberg-kit-root {
44
display: flex;
55
flex-direction: column;
66
height: 100vh;

src/remote.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
/>
99
<title>Gutenberg</title>
1010
</head>
11-
<body>
12-
<div id="root" class="root"></div>
11+
<body class="gutenberg-kit">
12+
<div id="root" class="gutenberg-kit-root"></div>
1313
<script type="module" src="/remote.jsx"></script>
1414
</body>
1515
</html>

0 commit comments

Comments
 (0)