File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,11 @@ const useStyles = makeStyles<
101101 borderRadius : theme . shape . borderRadius ,
102102 overflowX : "auto" ,
103103 background : theme . palette . background . default ,
104- borderBottom : `1px solid ${ theme . palette . divider } ` ,
104+
105+ "&:not(:last-child)" : {
106+ borderBottom : `1px solid ${ theme . palette . divider } ` ,
107+ borderRadius : 0 ,
108+ } ,
105109 } ,
106110 scrollWrapper : {
107111 minWidth : "fit-content" ,
Original file line number Diff line number Diff line change 1- import { ComponentMeta , Story } from "@storybook/react"
2- import { MockWorkspaceBuildLogs } from "../../testHelpers/entities"
3- import {
4- WorkspaceBuildLogs ,
5- WorkspaceBuildLogsProps ,
6- } from "./WorkspaceBuildLogs"
1+ import { Meta , StoryObj } from "@storybook/react"
2+ import { WorkspaceBuildLogs } from "./WorkspaceBuildLogs"
3+ import { MockWorkspaceBuildLogs } from "testHelpers/entities"
74
8- export default {
5+ const meta : Meta < typeof WorkspaceBuildLogs > = {
96 title : "components/WorkspaceBuildLogs" ,
107 component : WorkspaceBuildLogs ,
11- } as ComponentMeta < typeof WorkspaceBuildLogs >
8+ }
9+
10+ export default meta
1211
13- const Template : Story < WorkspaceBuildLogsProps > = ( args ) => (
14- < WorkspaceBuildLogs { ...args } />
15- )
12+ type Story = StoryObj < typeof WorkspaceBuildLogs >
13+
14+ export const InProgress : Story = {
15+ args : {
16+ logs : MockWorkspaceBuildLogs . slice ( 0 , 20 ) ,
17+ } ,
18+ }
1619
17- export const Example = Template . bind ( { } )
18- Example . args = {
19- logs : MockWorkspaceBuildLogs ,
20+ export const Completed : Story = {
21+ args : {
22+ logs : MockWorkspaceBuildLogs ,
23+ } ,
2024}
You can’t perform that action at this time.
0 commit comments