Skip to content

Commit

Permalink
feat: Update columnWidth in List, Status, Tag, and Posts components
Browse files Browse the repository at this point in the history
  • Loading branch information
cutls committed Jun 11, 2024
1 parent 67ccbc1 commit 371c5a3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion renderer/components/detail/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default function ListDetail(props: Props) {
client={client}
server={server}
account={account}
columnWidth="sm"
columnWidth={340}
updateStatus={updateStatus}
openMedia={props.openMedia}
setReplyOpened={() => null}
Expand Down
2 changes: 1 addition & 1 deletion renderer/components/detail/Status.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const StatusDetail: React.FC<Props> = (props) => {
client={client}
server={server}
account={account}
columnWidth="sm"
columnWidth={340}
updateStatus={updateStatus}
openMedia={props.openMedia}
setReplyOpened={() => null}
Expand Down
2 changes: 1 addition & 1 deletion renderer/components/detail/Tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default function TagDetail(props: Props) {
client={client}
server={server}
account={account}
columnWidth="sm"
columnWidth={340}
updateStatus={updateStatus}
openMedia={props.openMedia}
setReplyOpened={() => null}
Expand Down
4 changes: 2 additions & 2 deletions renderer/components/detail/profile/Posts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const Posts: React.ForwardRefRenderFunction<FuncProps, ArgProps> = (props, ref)
client={client}
server={props.server}
account={props.account}
columnWidth="sm"
columnWidth={340}
pinned={true}
updateStatus={updateStatus}
openMedia={props.openMedia}
Expand All @@ -134,7 +134,7 @@ const Posts: React.ForwardRefRenderFunction<FuncProps, ArgProps> = (props, ref)
client={client}
server={props.server}
account={props.account}
columnWidth="sm"
columnWidth={340}
updateStatus={updateStatus}
openMedia={props.openMedia}
setAccountDetail={setAccountDetail}
Expand Down
2 changes: 1 addition & 1 deletion renderer/components/search/Results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default function Results(props: Props) {
client={props.client}
server={props.server}
account={props.account}
columnWidth="xs"
columnWidth={280}
updateStatus={updateStatus}
openMedia={props.openMedia}
setStatusDetail={setStatusDetail}
Expand Down

0 comments on commit 371c5a3

Please sign in to comment.