Skip to content

Commit 0064230

Browse files
committed
refactor(backgroundlayers): cleans up storybook
1 parent 6bd360f commit 0064230

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

components/backgroundlayers/stories/backgroundlayers.stories.js

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,7 @@ export default {
55
title: "Elements/Background layers",
66
description: "The background layers is a series of classes used to style background layers.",
77
component: "BackgroundLayers",
8-
argTypes: {
9-
context: {
10-
name: "Context",
11-
type: { name: "string", required: true },
12-
defaultValue: "Browsing",
13-
table: {
14-
type: { summary: "string" },
15-
category: "Component",
16-
defaultValue: { summary: "browsing" }
17-
},
18-
options: ["browsing", "editing"],
19-
control: "select"
20-
},
21-
},
8+
argTypes: {},
229
args: {
2310
rootClass: "spectrum-BackgroundLayers",
2411
},
@@ -35,7 +22,7 @@ export default {
3522
const EditingContext = ({
3623
}) => {
3724
return html`
38-
<div style="display: flex; justify-content: flex-start; position: relative;">
25+
<div style="display: flex; justify-content: flex-start; position: relative; block-size: 150px;">
3926
${Template({
4027
style: "z-index: 4;",
4128
layer: 'elevated',
@@ -59,7 +46,7 @@ const EditingContext = ({
5946
const BrowsingContext = ({
6047
}) => {
6148
return html`
62-
<div style="display: flex; justify-content: flex-start; position: relative;">
49+
<div style="display: flex; justify-content: flex-start; position: relative; block-size: 150px;">
6350
${Template({
6451
style: "z-index: 3;",
6552
layer: 'elevated',

0 commit comments

Comments
 (0)