Skip to content

Commit 582d7c6

Browse files
committed
fix(FR-1780): Align the refresh button of the dashboard items (#4805)
resolves #4806 (FR-1780) This PR align the refresh button of the dashboard items. **Checklist:** (if applicable) - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
1 parent 647f525 commit 582d7c6

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

react/src/components/ActiveAgents.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ const ActiveAgents: React.FC<ActiveAgentsProps> = ({
2424
direction="column"
2525
align="stretch"
2626
style={{
27-
paddingLeft: token.paddingXL,
28-
paddingRight: token.paddingXL,
27+
paddingInline: token.paddingXL,
2928
height: '100%',
3029
}}
3130
>

react/src/components/RecentlyCreatedSession.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ const RecentlyCreatedSession: React.FC<RecentlyCreatedSessionProps> = ({
6363
direction="column"
6464
align="stretch"
6565
style={{
66-
paddingLeft: token.paddingXL,
67-
paddingRight: token.paddingXL,
66+
paddingInline: token.paddingXL,
6867
height: '100%',
6968
}}
7069
>

react/src/components/SessionCountDashboardItem.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ const SessionCountDashboardItem: React.FC<SessionCountDashboardItemProps> = ({
8080
direction="column"
8181
align="stretch"
8282
style={{
83-
paddingLeft: token.paddingXL,
84-
paddingRight: token.padding,
83+
paddingInline: token.paddingXL,
8584
...props.style,
8685
}}
8786
{..._.omit(props, ['style'])}

0 commit comments

Comments
 (0)