Skip to content

Commit fb09d27

Browse files
committed
nit: minor tweaks to storybook example
1 parent 3549bbb commit fb09d27

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/.stories/Storybook.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,13 @@
115115
// Nested
116116
.category {
117117
height: auto;
118-
margin-bottom: 20px;
119118

120119
.categoryHeader {
121120
display: flex;
122121
flex-flow: row nowrap;
123122
align-items: center;
124-
padding: 10px;
123+
padding: 10px 14px;
124+
background: #F9F9F9;
125125
border-bottom: 1px solid #EFEFEF;
126126
}
127127

src/.stories/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const Category = SortableElement((props) => {
4242
<Handle/>
4343
<span>Category {props.value}</span>
4444
</div>
45-
<ListWrapper component={SortableList} className={style.categoryList} items={getItems(5, 59)} shouldUseDragHandle={true} helperClass={style.stylizedHelper} />
45+
<ListWrapper component={SortableList} className={style.categoryList} items={getItems(3, 59)} shouldUseDragHandle={true} helperClass={style.stylizedHelper} />
4646
</div>
4747
)
4848
});

0 commit comments

Comments
 (0)