Skip to content

Commit

Permalink
style: add column spacing of dates
Browse files Browse the repository at this point in the history
  • Loading branch information
mbappai committed Sep 17, 2023
1 parent b8c58af commit 86406f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/organizations/events/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function gotoEventPage(event:Event){
dataIndex: 'startTime',
key: 'startTime',
fixed:'right',
width:'140px',
width:'150px',
render: (startTime)=>{
return(
<Text type='secondary'>{dayjs(startTime).tz("UTC").format('MMM DD, YYYY HA')}</Text>
Expand All @@ -264,7 +264,7 @@ function gotoEventPage(event:Event){
dataIndex: 'startTime',
key: 'startTime',
fixed:'right',
width:'140px',
width:'150px',
render: (_, record)=>{
return(
<Text type='secondary'>{dayjs(record.startTime).add(record.duration,'m').tz("UTC").format('MMM DD, YYYY HA')}</Text>
Expand Down Expand Up @@ -313,7 +313,7 @@ function gotoEventPage(event:Event){
{/* filters */}
<Radio.Group defaultValue={currentFilter.id} buttonStyle="solid">
{filters.map((filter:any)=>(
<Radio.Button key={filter.id} onClick={()=>setCurrentFilter(filter)} value={filter.id}>{filter.name}</Radio.Button>
<Radio.Button key={filter.id} onClick={()=>setCurrentFilter(filter)} value={filter.id}>{filter.name}</Radio.Button>
)
)}
</Radio.Group>
Expand All @@ -333,7 +333,7 @@ function gotoEventPage(event:Event){
</EmptyState>
: <Table
style={{width:'100%'}}
scroll={{ x: 'calc(700px + 50%)'}}
scroll={{ x: 'calc(600px + 40%)'}}
size='large'
rowKey={(record)=>record.id}
// @ts-ignore
Expand Down

0 comments on commit 86406f8

Please sign in to comment.