Skip to content

add top padding to LHN wrapper #53296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 11, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1668,6 +1668,7 @@ const styles = (theme: ThemeColors) =>
},

sidebarListContainer: {
paddingTop: 12,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works to me but @mkzie2 can you double check if we use that direct value in other pages like Search Page or workspace list? Curious if there is any existing shared variable on it

Copy link
Contributor Author

@mkzie2 mkzie2 Dec 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We used mt3:

<View style={[styles.pb4, styles.mh3, styles.mt3]}>

<View style={[styles.pb4, styles.mh3, styles.mt3]}>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, what do you think if we reuse that value? Something like this

        sidebarListContainer: {
            ...spacing.pt3,
            paddingBottom: 4,
        },

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hoangzinh Agree, I updated.

paddingBottom: 4,
},

Expand Down
Loading